From 0e346bf5ad4852db5db82343b2aca5911c38ad00 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 4 Feb 2017 18:16:22 -0500 Subject: Moved the libraries around --- config/config_unix.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 config/config_unix.go (limited to 'config/config_unix.go') diff --git a/config/config_unix.go b/config/config_unix.go deleted file mode 100644 index 8be1967..0000000 --- a/config/config_unix.go +++ /dev/null @@ -1,21 +0,0 @@ -// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris - -package config - -import ( - "os" - "path/filepath" -) - -var ( - editor string = setEditor() - fn string = filepath.Join(os.Getenv("HOME"), "."+configFilename) -) - -func setEditor() string { - e := os.Getenv("EDITOR") - if e == "" { - return "vi" - } - return e -} -- cgit v1.2.3