parent
71f7902189
commit
973270b8b5
@ -81,6 +81,7 @@ type Abra struct {
|
||||
// 2. check if abraDir was set in a config file
|
||||
// 3. use $HOME/.abra when above two options failed
|
||||
func (a Abra) GetAbraDir() string {
|
||||
log.Println(os.LookupEnv("ABRA_DIR"))
|
||||
if dir, exists := os.LookupEnv("ABRA_DIR"); exists && dir != "" {
|
||||
return dir
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user