comparison zshrc @ 47:9cc72008cf08

enable zsh's fancy autocomplete
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 07 Mar 2014 07:57:27 +0100
parents 9fa883dc39e0
children c509ce04abad
comparison
equal deleted inserted replaced
46:1cbbe8b41622 47:9cc72008cf08
18 unalias l 18 unalias l
19 fi 19 fi
20 if [ "`alias | grep 'lsa='`" != "" ]; then 20 if [ "`alias | grep 'lsa='`" != "" ]; then
21 unalias lsa 21 unalias lsa
22 fi 22 fi
23
24 # enable zsh's fancy autocomplete
25 autoload -U compinit
26 compinit
23 27
24 # custom functions/aliases that should work on all platforms 28 # custom functions/aliases that should work on all platforms
25 cd() { builtin cd "$@"; print -D $PWD; } 29 cd() { builtin cd "$@"; print -D $PWD; }
26 ff() { find $2 -print0 | xargs -0 grep $1 } 30 ff() { find $2 -print0 | xargs -0 grep $1 }
27 hgrep() { history | grep $* } 31 hgrep() { history | grep $* }