浏览代码

Add aliases for composer global

Maxime Fabre 11 年之前
父节点
当前提交
ef220f0928
共有 1 个文件被更改,包括 3 次插入0 次删除
  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 csu='composer self-update'
 alias cu='composer update'
+alias cr='composer require'
 alias ci='composer install'
 alias ccp='composer create-project'
 alias cdu='composer dump-autoload'
+alias cgu='composer global update'
+alias cgr='composer global require'
 
 # install composer in the current directory
 alias cget='curl -s https://getcomposer.org/installer | php'