diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-14 21:56:19 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-14 21:56:19 +0200 |
| commit | 6a22a1ee7bfd1fbd34486a224db98eb6aead5c3e (patch) | |
| tree | 4edcb669880850c4747b39ef063bcaa53f1fc648 /paths | |
| parent | 213d3f11728204b1b4c37058d3f1fa1a72dcac4d (diff) | |
Diffstat (limited to 'paths')
| -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 { |
