summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-21 10:17:50 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-21 10:17:50 +0100
commit8c7c596d5a66ef742f624ff428778a8100be6507 (patch)
tree712e815324b3b7198cc47452f099123dd041b621 /etc
parent03757a1f14d94fba094ecc63ed9fb9c56f6b5039 (diff)
Use $ZDIR where appropiate
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