mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Merge remote-tracking branch 'upstream/master'
# Conflicts: # templates/zshrc.zsh-template
This commit is contained in:
commit
c97f1d133d
37 changed files with 760 additions and 209 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue