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