Added support for auto completion, initialize functions.d on make install, copy _j from autojump

This commit is contained in:
Philipp Frischmuth 2011-02-07 19:50:34 +01:00
parent a95e2b8382
commit a0880d316c
2 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,9 @@ install:
hg clone git://github.com/nicoulaj/zsh-syntax-highlighting.git
hg clone git://github.com/robbyrussell/oh-my-zsh.git
hg clone git://fizsh.git.sourceforge.net/gitroot/fizsh/fizsh
mkdir -p $(PWD)/functions.d
cp -f $(PWD)/autojump/_j $(PWD)/functions.d/_j
sudo ln -sf $(PWD)/autojump/autojump /usr/bin/autojump
clean:
rm -r ./autojump

View file

@ -4,6 +4,9 @@
# tab completion configuration
#
fpath=( ~/.zsh/functions.d/ $fpath )
autoload -U ~/.zsh/functions.d/*(:t)
# load completions system
zmodload -i zsh/complist