Merge remote-tracking branch 'upstream/master'

# Conflicts:
#	templates/zshrc.zsh-template
This commit is contained in:
Gaetan Semet 2016-08-29 18:00:33 +02:00
commit c97f1d133d
37 changed files with 760 additions and 209 deletions

View file

@ -1,4 +1,12 @@
eval "$(npm completion 2>/dev/null)"
(( $+commands[npm] )) && {
__NPM_COMPLETION_FILE="${ZSH_CACHE_DIR}/npm_completion"
if [[ ! -f $__NPM_COMPLETION_FILE ]]; then
npm completion >! $__NPM_COMPLETION_FILE || rm -f $__NPM_COMPLETION_FILE
fi
source $__NPM_COMPLETION_FILE
}
# Install dependencies globally
alias npmg="npm i -g "
@ -20,3 +28,9 @@ alias npmE='PATH="$(npm bin)":"$PATH"'
# Check which npm modules are outdated
alias npmO="npm outdated"
# Run npm start
alias npmst="npm start"
# Run npm test
alias npmt="npm test"