From 6a22a1ee7bfd1fbd34486a224db98eb6aead5c3e Mon Sep 17 00:00:00 2001 From: ewy Date: Tue, 14 Apr 2026 21:56:19 +0200 Subject: add --list --- paths/paths.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'paths') 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 { -- cgit v1.3