diff options
| -rw-r--r-- | utils/utils.go | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/utils/utils.go b/utils/utils.go index 01e2556..52af88a 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -23,7 +23,7 @@ func getHomeDir() string {  	return usr.HomeDir  } -func OpenRCFile() (f *os.File, err error) { +func OpenHistoryFile() (f *os.File, err error) {  	file_path := getHomeDir() + "/" + history_file  	if _, err := os.Stat(file_path); os.IsNotExist(err) {  		return os.Create(file_path) @@ -34,7 +34,7 @@ func OpenRCFile() (f *os.File, err error) {  func Store(branch string) {  	branchList := BranchList{} -	rcfile, err := OpenRCFile() +	rcfile, err := OpenHistoryFile()  	if err != nil {  		log.Fatal(err)  	} | 
