Browse Source

Remove fpath/compinit code from github and npm plugins

Pat Regan 14 years ago
parent
commit
9899c2445c
  1. 4
      plugins/github/github.plugin.zsh
  2. 4
      plugins/npm/npm.plugin.zsh

4
plugins/github/github.plugin.zsh

@ -5,7 +5,3 @@ if [ "$commands[(I)hub]" ]; then @@ -5,7 +5,3 @@ if [ "$commands[(I)hub]" ]; then
function git(){hub "$@"}
fi
# add github completion function to path
fpath=($ZSH/plugins/github $fpath)
autoload -U compinit
compinit -i

4
plugins/npm/npm.plugin.zsh

@ -1,4 +0,0 @@ @@ -1,4 +0,0 @@
# add npm completion function to path
fpath=($ZSH/plugins/npm $fpath)
autoload -U compinit
compinit -i
Loading…
Cancel
Save