Avoid clash of edit alias with TextWrangler.app edit command

pull/252/head
Daniel Mitterdorfer 2013-12-25 16:44:25 +01:00
parent aacc294a5e
commit d54c424218
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ alias cls='clear'
alias edit="$EDITOR"
alias pager="$PAGER"
#Avoid clashes with TextWrangler's command line tools on OS X
if [ -s /usr/local/bin/edit ] ; then
unalias edit
fi
alias q='exit'
alias irc="$IRC_CLIENT"