You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
350 B
Fish
11 lines
350 B
Fish
# composer command
|
|
function composer
|
|
if test -e ./composer.phar # if there is composer in this path use local one
|
|
./composer.phar $argv;
|
|
else if test -n "$COMPOSER_BIN"
|
|
eval "$COMPOSER_BIN" $argv;
|
|
else
|
|
echo "Please install composer.phar to your PATH. Or use \"composer_install\" to install Composer to current directory."
|
|
end
|
|
end
|