Browse Source

Add aliases for composer global

Maxime Fabre 11 years ago
parent
commit
ef220f0928
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/composer/composer.plugin.zsh

+ 3 - 0
plugins/composer/composer.plugin.zsh

@@ -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'