added homeshick plugin
This commit is contained in:
parent
96e4e5dd03
commit
0cded54b7f
19
plugins/homeshick/homeshick.plugin.zsh
Normal file
19
plugins/homeshick/homeshick.plugin.zsh
Normal file
@ -0,0 +1,19 @@
|
||||
# first manually install homeshick via:
|
||||
# git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick
|
||||
|
||||
# make sure homeshick is available
|
||||
if [ -f $HOME/.homesick/repos/homeshick/homeshick.sh ]; then
|
||||
|
||||
# adding homeshick to path
|
||||
. $HOME/.homesick/repos/homeshick/homeshick.sh
|
||||
|
||||
# enable homeshick zsh completition (see official docs: https://github.com/andsens/homeshick/wiki/Installation#zsh-completion)
|
||||
fpath=($HOME/.homesick/repos/homeshick/completions $fpath)
|
||||
|
||||
# make autocompletition happen (workaround for: https://github.com/andsens/homeshick/issues/89)
|
||||
compinit
|
||||
|
||||
# useful aliases
|
||||
alias hsckl="homeshick pull"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user