Added support for auto completion, initialize functions.d on make install, copy _j from autojump
This commit is contained in:
parent
a95e2b8382
commit
a0880d316c
2 changed files with 6 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue