diff --git a/zshrc b/zshrc index a83c082..d78bd7d 100644 --- a/zshrc +++ b/zshrc @@ -1,18 +1,23 @@ # source all other zsh files -if [ -f .zsh_environment ] +if [ -f ~/.zsh_environment ] then source ~/.zsh_environment fi #for accounts whithout root -if [ -f .zsh_grml ] +if [ -f ~/.zsh_grml ] then source ~/.zsh_grml fi #for untrusted machines -if [ -f .zsh_sensitive ] +if [ -f ~/.zsh_sensitive ] then source ~/.zsh_sensitive fi +#for accounts whithout root +if [ -f ~/.zsh_grml ] +then + source ~/.zsh_grml +fi source ~/.zsh_functions export EDITOR=vim export SYSTEMD_EDITOR=vim @@ -55,20 +60,6 @@ then else alias v='vim' fi -if [ -f .zsh_environment ] -then - source ~/.zsh_environment -fi -#for accounts whithout root -if [ -f .zsh_grml ] -then - source ~/.zsh_grml -fi -#for untrusted machines -if [ -f .zsh_sensitive ] -then - source ~/.zsh_sensitive -fi source ~/.zsh_functions export EDITOR=vim alias emacs='emacs -nw'