mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Update plugins/composer/composer.plugin.zsh
add more aliases
This commit is contained in:
parent
97e97cb864
commit
06ac1dd526
1 changed files with 11 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#alias
|
||||
# main alias
|
||||
if which composer.phar &> /dev/null; then
|
||||
if which composer &> /dev/null; then
|
||||
else
|
||||
|
|
@ -9,3 +9,13 @@ else
|
|||
alias composer.phar="composer"
|
||||
fi
|
||||
fi
|
||||
|
||||
# other aliases
|
||||
alias c='composer'
|
||||
alias csu='composer self-update'
|
||||
alias cu='composer update'
|
||||
alias ci='composer install'
|
||||
alias ccp='composer create-project'
|
||||
|
||||
# install composer in the current directory
|
||||
alias cget='curl -s https://getcomposer.org/installer | php'
|
||||
Loading…
Add table
Add a link
Reference in a new issue