Mercurial > hg > zsh-env
diff 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 |
line wrap: on
line diff
--- a/zshrc Tue Mar 04 09:43:43 2014 +0100 +++ b/zshrc Fri Mar 07 07:57:27 2014 +0100 @@ -21,6 +21,10 @@ unalias lsa fi +# enable zsh's fancy autocomplete +autoload -U compinit +compinit + # custom functions/aliases that should work on all platforms cd() { builtin cd "$@"; print -D $PWD; } ff() { find $2 -print0 | xargs -0 grep $1 }