diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-11-20 19:56:29 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-11-20 19:56:29 -0500 |
| commit | 971cc396e1d01f53f65a86278fd0ac4490565335 (patch) | |
| tree | 19d0a1e861590b5058ca682c2f5a33828414cf3d /lib/config/config_unix.go | |
| parent | 9ff47bdc17c70f87c78520d0636b2ff22918a408 (diff) | |
| download | steam-export-971cc396e1d01f53f65a86278fd0ac4490565335.tar.gz steam-export-971cc396e1d01f53f65a86278fd0ac4490565335.tar.xz | |
Reorganize. Update to use go modules.
Diffstat (limited to 'lib/config/config_unix.go')
| -rw-r--r-- | lib/config/config_unix.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/config/config_unix.go b/lib/config/config_unix.go deleted file mode 100644 index 8be1967..0000000 --- a/lib/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 -} |
