Do not alias to mars if mars not installed
This commit is contained in:
parent
48385a0b23
commit
4334156eeb
|
@ -9,8 +9,6 @@ alias top="htop"
|
|||
# Vim like alias
|
||||
alias :q="exit"
|
||||
|
||||
alias make="mars"
|
||||
|
||||
# Avoid typos
|
||||
alias ake="make"
|
||||
|
||||
|
@ -62,3 +60,9 @@ command -v thefuck > /dev/null 2>&1
|
|||
if [ $? -eq 0 ]; then
|
||||
eval $(thefuck --alias)
|
||||
fi
|
||||
|
||||
command -v mars > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
alias make="mars"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue