Permalink
Browse files

fix bad subst in zshrc

  • Loading branch information...
1 parent 21bc714 commit 0df32b55c97e8145a17fc4d54edbbcf0573c9ecb @quark-zju committed Apr 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 .zshrc
View
4 .zshrc
@@ -128,8 +128,8 @@ precmd
# Load other stuff {{{
for i in /etc/profile.d/*.{sh,zsh} ~/.profile.d/*.{sh,zsh}; do
- if [ -e $i.zwc ]; then
- source $i.zwc
+ if [ -e ${i:r}.zwc ]; then
+ source ${i:r}.zwc
else
source $i
fi

0 comments on commit 0df32b5

Please sign in to comment.