]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
Excess escape
[dotfiles.git] / zsh / .zshrc
index e0f01fde6ae4f94d57bd4668a1ddd1fc8d8b403b..02a85dbaaa634b7f084e052a514bd527c80a16df 100644 (file)
@@ -83,8 +83,7 @@ alias -g W="| wc -l | sed 's/ //g'"
 alias mc="mc --nomouse"
 
 f() {
-    # find . -name "*$1*" -print
-    print -C 1 **$1*
+    find . -name "*$1*" -print
 }
 
 alias ssh="TERM=xterm ssh"
@@ -136,12 +135,11 @@ GREP_ARGS=(
     --exclude-dir=.git
     --exclude-dir=.tags
 )
-LESS_COLOURED=(less --RAW-CONTROL-CHARS)
 g() {
-    grep $GREP_ARGS $@ | $LESS_COLOURED
+    grep $GREP_ARGS $@ | less
 }
 GS() {
-    grep $GREP_ARGS $@ | sort --numeric-sort | $LESS_COLOURED
+    grep $GREP_ARGS $@ | sort --numeric-sort | less
 }
 alias -g G="| grep --colour=always"
 alias gg="git grep "
@@ -151,12 +149,6 @@ alias gg="git grep "
 export GPG_TTY=$(tty)
 # }}}
 
-# Virtualenv {{{
-venv() {
-    . /usr/local/bin/virtualenvwrapper.sh
-}
-# }}}
-
 # Mail {{{
 mailpath=(
     ~/mail/mbox"?Neue Nachrichten in =mbox"
@@ -225,3 +217,9 @@ done < ~/.zhashd
 # autoenv {{{
 . ~/work/zsh-autoenv/autoenv.zsh
 # }}}
+
+# Virtualenv {{{
+venv() {
+    . /usr/local/bin/virtualenvwrapper.sh
+}
+# }}}