mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
feat(composer): add cuh
alias for updating global packages (#6048)
Closes #6048
This commit is contained in:
parent
cbd8481fe3
commit
d384ccf31d
@ -15,7 +15,7 @@ Original author: Daniel Gomes <me@danielcsgomes.com>
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
| ------ | ---------------------------- | --------------------------------------------------------------------------------------- |
|
||||
| ------ | ---------------------------------- | --------------------------------------------------------------------------------------- |
|
||||
| `c` | `composer` | Starts composer |
|
||||
| `ccp` | `composer create-project` | Create new project from an existing package |
|
||||
| `cdo` | `composer dump-autoload -o` | Converts PSR-0/4 autoloading to classmap for a faster autoloader (good for production) |
|
||||
@ -32,3 +32,4 @@ Original author: Daniel Gomes <me@danielcsgomes.com>
|
||||
| `cs` | `composer show` | Lists available packages, with optional filtering |
|
||||
| `csu` | `composer self-update` | Updates composer to the latest version |
|
||||
| `cu` | `composer update` | Updates composer dependencies and `composer.lock` file |
|
||||
| `cuh` | `composer update -d <config-home>` | Updates globally installed packages |
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user