summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-21 09:57:34 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-21 09:57:34 +0100
commit64d57d6397a488b11d448e437a8661194a9d7d43 (patch)
tree50c9b6c3e7ff38de59de4a2fbf21ef71db201701 /etc
parent7105cb2e1c7111d15ffe6b8148706a15c4075f86 (diff)
zshenv: Allow environment to override $ZDIR
Diffstat (limited to 'etc')
-rw-r--r--etc/env2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/env b/etc/env
index fe807c1..92c1eee 100644
--- a/etc/env
+++ b/etc/env
@@ -1,6 +1,6 @@
## vim:ft=zsh
-ZDIR=$HOME/packages/zsh/etc
+: ${ZDIR:=$HOME/packages/zsh/etc}
PS4='%{'$'\e[0;36m''%}%N%{'$'\e[0m''%}:%{'$'\e[0;33m''%}%i%{'$'\e[0m''%}│'
fpath=($ZDIR/functions $ZDIR/completions $fpath)