summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/completions/_put2
-rw-r--r--etc/profile4
-rw-r--r--etc/rc2
3 files changed, 4 insertions, 4 deletions
diff --git a/etc/completions/_put b/etc/completions/_put
index 2974706..0dec487 100644
--- a/etc/completions/_put
+++ b/etc/completions/_put
@@ -3,7 +3,7 @@
typeset -a arguments
typeset net
-for net in $(grep '^hosts_' ~/packages/zsh/etc/functions/put | sed -r 's/^hosts_(\w*)=.*$/\1/'); {
+for net in $(grep '^hosts_' $ZDIR/functions/put | sed -r 's/^hosts_(\w*)=.*$/\1/'); {
arguments+="-$net"
}
diff --git a/etc/profile b/etc/profile
index e74bb8c..5461ebc 100644
--- a/etc/profile
+++ b/etc/profile
@@ -1,6 +1,6 @@
## vim:ft=zsh
setopt extended_glob
-source $HOME/packages/zsh/etc/colors
+source $ZDIR/colors
function pr_info {
print -P "${info}>>${reset} $*"
@@ -15,6 +15,6 @@ pr_info "This is ${info}$(uname -srm)${reset} on ${info}%y${reset}"
echo
[[ -n $(echo Maildir/new/*(N)) ]] && pr_info "You have mail!"
-[[ -r $HOME/packages/zsh/etc/local-profile ]] && source $HOME/packages/zsh/etc/local-profile
+[[ -r $ZDIR/local-profile ]] && source $ZDIR/local-profile
unfunction pr_info
diff --git a/etc/rc b/etc/rc
index 8b62217..2cdf069 100644
--- a/etc/rc
+++ b/etc/rc
@@ -41,7 +41,7 @@ xsource $ZDIR/hosts/$HOST # local configuration in git
source $ZDIR/completion
# misc
-check_com -c dircolors && eval $(dircolors -b $HOME/packages/zsh/etc/dircolors)
+check_com -c dircolors && eval $(dircolors -b $ZDIR/dircolors)
mesg n
umask 077
chpwd