Mercurial > hg > zsh-env
diff zshrc @ 43:9fa883dc39e0
remove the ll alias right here, where the other aliases are removed, too
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 04 Mar 2014 08:55:15 +0100 |
parents | 2f93381e4ed8 |
children | 9cc72008cf08 |
line wrap: on
line diff
--- a/zshrc Tue Mar 04 08:54:43 2014 +0100 +++ b/zshrc Tue Mar 04 08:55:15 2014 +0100 @@ -11,6 +11,9 @@ fi # get rid of some unwanted aliases from the oh-my-zsh env +if [ "`alias | grep 'll='`" != "" ]; then + unalias ll +fi if [ "`alias | grep 'l='`" != "" ]; then unalias l fi @@ -46,7 +49,8 @@ unsetopt correct_all # utility function that is used by various other modules -removeFromPath() { +removeFromPath() +{ search_term="$1" split_path=(${(s/:/)PATH}) clean_path=""