Merge remote-tracking branch 'upstream/master'

# Conflicts:
#	plugins/jump/jump.plugin.zsh
This commit is contained in:
Gaetan Semet 2016-10-11 21:56:56 +02:00
commit 881a2be64f
70 changed files with 4023 additions and 1021 deletions

View file

@ -2,10 +2,13 @@
__NPM_COMPLETION_FILE="${ZSH_CACHE_DIR}/npm_completion"
if [[ ! -f $__NPM_COMPLETION_FILE ]]; then
npm completion >! $__NPM_COMPLETION_FILE || rm -f $__NPM_COMPLETION_FILE
npm completion >! $__NPM_COMPLETION_FILE 2>/dev/null
[[ $? -ne 0 ]] && rm -f $__NPM_COMPLETION_FILE
fi
source $__NPM_COMPLETION_FILE
[[ -f $__NPM_COMPLETION_FILE ]] && source $__NPM_COMPLETION_FILE
unset __NPM_COMPLETION_FILE
}
# Install dependencies globally
@ -29,6 +32,12 @@ alias npmE='PATH="$(npm bin)":"$PATH"'
# Check which npm modules are outdated
alias npmO="npm outdated"
# Check package versions
alias npmV="npm -v"
# List packages
alias npmL="npm list"
# Run npm start
alias npmst="npm start"