summaryrefslogtreecommitdiff
path: root/plugins/composer/composer.plugin.zsh
diff options
context:
space:
mode:
authorRaphael Stolt <raphael.stolt@gmail.com>2017-04-25 19:52:55 +0200
committerMarc Cornellà <hello@mcornella.com>2021-12-29 10:55:45 +0100
commitd384ccf31dca8b0a768c463087f156b7302c77c5 (patch)
tree272c9125f9341a9e8efde40d70143c0296da3cfd /plugins/composer/composer.plugin.zsh
parentcbd8481fe37dde252ee817a8157ed72b7bcad655 (diff)
downloadzsh-d384ccf31dca8b0a768c463087f156b7302c77c5.tar.gz
zsh-d384ccf31dca8b0a768c463087f156b7302c77c5.tar.bz2
zsh-d384ccf31dca8b0a768c463087f156b7302c77c5.zip
feat(composer): add `cuh` alias for updating global packages (#6048)
Closes #6048
Diffstat (limited to 'plugins/composer/composer.plugin.zsh')
-rw-r--r--plugins/composer/composer.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/composer/composer.plugin.zsh b/plugins/composer/composer.plugin.zsh
index a3883a1f2..dd0b18e27 100644
--- a/plugins/composer/composer.plugin.zsh
+++ b/plugins/composer/composer.plugin.zsh
@@ -48,6 +48,7 @@ alias crm='composer remove'
alias cs='composer show'
alias csu='composer self-update'
alias cu='composer update'
+alias cuh='composer update --working-dir=$(composer config -g home)'
## If Composer not found, try to add known directories to $PATH