diff options
author | Alan Pearce | 2014-06-04 13:52:50 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-04 13:52:50 +0100 |
commit | 63eb0e567afa15801f5f60ddf6e04a78bb565822 (patch) | |
tree | 46b6a767188cee90c93532e677b0b3e567e0ea9f | |
parent | 754a1cb21cdc2150d0bef4b88ec247af9be5e04f (diff) | |
download | nixfiles-63eb0e567afa15801f5f60ddf6e04a78bb565822.tar.lz nixfiles-63eb0e567afa15801f5f60ddf6e04a78bb565822.tar.zst nixfiles-63eb0e567afa15801f5f60ddf6e04a78bb565822.zip |
zsh: Alias composer to composer.phar if missing
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 9f1f66fe..5c6b32ab 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -277,6 +277,10 @@ if [[ -e =gh ]]; then compdef _hub gh fi +if [[ -n $commands[composer.phar] && ! -n $commands[composer] ]]; then + alias composer="composer.phar" +fi + # Functions magit () { |