fixed loading of localcommands file

This commit is contained in:
Jidbo 2018-08-26 19:12:38 +02:00
parent 848f3edcb9
commit e67f1b35ff

7
.zshrc
View file

@ -1,6 +1,5 @@
# If you come from bash you might have to change your $PATH. # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH # export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="/Users/jan/.oh-my-zsh" export ZSH="/Users/jan/.oh-my-zsh"
@ -99,7 +98,9 @@ source $ZSH/oh-my-zsh.sh
alias ll='ls -l' alias ll='ls -l'
alias vi='vim' alias vi='vim'
alias la='ls -la' alias la='ls -la'
if [ -e ".localcommands" ] if [ -f ~/.dotfiles/.localcommands ]
then then
bash .localcommands source ~/.dotfiles/.localcommands
else
echo "not found"
fi fi