summaryrefslogtreecommitdiff
path: root/paths
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-14 21:56:19 +0200
committerewy <ewy0@protonmail.com>2026-04-14 21:56:19 +0200
commit6a22a1ee7bfd1fbd34486a224db98eb6aead5c3e (patch)
tree4edcb669880850c4747b39ef063bcaa53f1fc648 /paths
parent213d3f11728204b1b4c37058d3f1fa1a72dcac4d (diff)
add --listHEADmaster
Diffstat (limited to 'paths')
-rw-r--r--paths/paths.go4
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 {