summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config/zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 9f1f66f..5c6b32a 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 () {