Sync .zshrc with my old one.
[dotfiles2.git] / zshrc
diff --git a/zshrc b/zshrc
index ccac342..a9f97e1 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -23,7 +23,15 @@ alias less='less --quiet'
 alias s='cd ..'
 alias df='df --human-readable'
 alias du='du --human-readable'
+
+alias egrep='egrep --color=tty -d skip'
+alias egrpe='egrep --color=tty -d skip'
+alias fgrep='fgrep --color=tty -d skip'
+alias fgrpe='fgrep --color=tty -d skip'
+alias grep='grep --color=tty -d skip'
+alias grpe='grep --color=tty -d skip'
 alias grep='grep --color=auto'
+
 alias aterm='aterm -sb -sl 2000 -bg black -fg white'
 # ssh + UTF-8
 # alias ssh='LC_ALL=fr_FR luit ssh'
@@ -292,4 +300,7 @@ $PR_CYAN$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT$PR_NO_COLOUR '
 setprompt                       
 alias krypton='ssh toutoune25@miskin.fr'
 
-
+if [ -x /usr/games/fortune ]; then
+    /usr/games/fortune /usr/share/games/fortunes/debian-hints
+    echo ""
+fi