From e67f1b35ff02c438cd203d3856d0d37892aa4941 Mon Sep 17 00:00:00 2001 From: Jidbo Date: Sun, 26 Aug 2018 19:12:38 +0200 Subject: [PATCH] fixed loading of localcommands file --- .zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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