Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
d384ccf3
Unverified
Commit
d384ccf3
authored
Apr 25, 2017
by
Raphael Stolt
Committed by
Marc Cornellà
Dec 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(composer): add `cuh` alias for updating global packages (#6048)
Closes #6048
parent
cbd8481f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
18 deletions
+20
-18
README.md
plugins/composer/README.md
+19
-18
composer.plugin.zsh
plugins/composer/composer.plugin.zsh
+1
-0
No files found.
plugins/composer/README.md
View file @
d384ccf3
...
...
@@ -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 |
plugins/composer/composer.plugin.zsh
View file @
d384ccf3
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment