summaryrefslogtreecommitdiffstats
path: root/fish/conf.d/_z-make-portable.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/conf.d/_z-make-portable.fish')
-rw-r--r--fish/conf.d/_z-make-portable.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/fish/conf.d/_z-make-portable.fish b/fish/conf.d/_z-make-portable.fish
new file mode 100644
index 0000000..fea1758
--- /dev/null
+++ b/fish/conf.d/_z-make-portable.fish
@@ -0,0 +1,6 @@
+# Don't use set -U here
+# set -U stores the actual value of $HOME in the fish_variables file
+# which is tracked in the dotfiles repo.
+# This makes it non-portable.
+set -x Z_DATA $HOME/.local/share/z/data
+set -xp Z_EXCLUDE $HOME