Mercurial > hg > zsh-env
changeset 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 | fa52868da3d4 |
children | aeab5ab060f5 |
files | zshrc |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
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=""