aboutsummaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index fe8a225..2a4ddfc 100644
--- a/zshrc
+++ b/zshrc
@@ -82,7 +82,10 @@ export MPD_PORT="6601"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
-alias diff="colordiff"
+if type colordiff &>/dev/null
+then
+ alias diff="colordiff"
+fi
# alias for FAU vpn
alias fauvpnfull="wd FAUAllgemein && sudo openvpn ~/Documents/MyDocuments/Study/FAU\ Erlangen/Allgemein/FAU-Fulltunnel.ovpn && cd ~"