Mercurial > hg > zsh-env
comparison zshrc @ 3:d31291a406ed
look for oh-my-zsh in a system wide folder
author | Dirk Olmes <dirk.olmes@exentra.de> |
---|---|
date | Mon, 28 Nov 2011 16:01:49 +0100 |
parents | e12c50e8ea8c |
children | ff5e785e7bf7 4263bbc594fe |
comparison
equal
deleted
inserted
replaced
2:4c75712619f3 | 3:d31291a406ed |
---|---|
1 # | 1 # |
2 # This is the main zshrc file. | 2 # This is the main zshrc file. |
3 # | 3 # |
4 | 4 |
5 if [ -d $HOME/.oh-my-zsh ]; then | 5 if [ -d $HOME/.oh-my-zsh ]; then |
6 ZSH=$HOME/.oh-my-zsh | |
6 . $HOME/.zsh-env/oh-my-zsh | 7 . $HOME/.zsh-env/oh-my-zsh |
8 elif [ -d /var/lib/zsh/oh-my-zsh ]; then | |
9 ZSH=/var/lib/zsh/oh-my-zsh | |
10 . $HOME/.zsh-env/oh-my-zsh | |
7 fi | 11 fi |
8 | 12 |
9 # get rid of some unwanted aliases from the oh-my-zsh env | 13 # get rid of some unwanted aliases from the oh-my-zsh env |
10 unalias l | 14 unalias l |
11 unalias lsa | 15 unalias lsa |