Correctly sourcing.
This commit is contained in:
parent
0bfac13756
commit
9927ccf3c6
25
zshrc
25
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'
|
||||
|
Loading…
Reference in New Issue
Block a user