diff options
Diffstat (limited to 'paths/paths.go')
| -rw-r--r-- | paths/paths.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/paths/paths.go b/paths/paths.go index 0445658..9721fa1 100644 --- a/paths/paths.go +++ b/paths/paths.go @@ -13,6 +13,7 @@ var ( This = "pik" Cache = filepath.Join(xdg.CacheHome, This) Config = filepath.Join(xdg.ConfigHome, This) + Ifs = os.Getenv("IFS") ) func init() { @@ -24,6 +25,9 @@ func init() { if err != nil { spool.Warn("%v\n", err) } + if Ifs == "" { + Ifs = "\n" + } } func ReplaceHome(input string) string { |
