Add aliases for composer global
This commit is contained in:
parent
5f4e8e57da
commit
ef220f0928
@ -41,9 +41,12 @@ compdef _composer composer.phar
|
|||||||
alias c='composer'
|
alias c='composer'
|
||||||
alias csu='composer self-update'
|
alias csu='composer self-update'
|
||||||
alias cu='composer update'
|
alias cu='composer update'
|
||||||
|
alias cr='composer require'
|
||||||
alias ci='composer install'
|
alias ci='composer install'
|
||||||
alias ccp='composer create-project'
|
alias ccp='composer create-project'
|
||||||
alias cdu='composer dump-autoload'
|
alias cdu='composer dump-autoload'
|
||||||
|
alias cgu='composer global update'
|
||||||
|
alias cgr='composer global require'
|
||||||
|
|
||||||
# install composer in the current directory
|
# install composer in the current directory
|
||||||
alias cget='curl -s https://getcomposer.org/installer | php'
|
alias cget='curl -s https://getcomposer.org/installer | php'
|
||||||
|
Loading…
Reference in New Issue
Block a user