This commit is contained in:
Ondrej Slinták 2013-01-22 11:31:52 -08:00
commit f802ed9577

View file

@ -2,7 +2,7 @@
# FILE: composer.plugin.zsh
# DESCRIPTION: oh-my-zsh composer plugin file.
# AUTHOR: Daniel Gomes (me@danielcsgomes.com)
# VERSION: 1.0.0
# VERSION: 1.0.1
# ------------------------------------------------------------------------------
# Composer basic command completion
@ -11,9 +11,7 @@ _composer_get_command_list () {
}
_composer () {
if [ -f composer.json ]; then
compadd `_composer_get_command_list`
fi
compadd `_composer_get_command_list`
}
compdef _composer composer
@ -26,4 +24,4 @@ alias ci='composer install'
alias ccp='composer create-project'
# install composer in the current directory
alias cget='curl -s https://getcomposer.org/installer | php'
alias cget='curl -s https://getcomposer.org/installer | php'