From: Davide Riccardo Caliendo Date: Fri, 26 Jul 2013 12:33:05 +0000 (+0200) Subject: hardcoding basepath X-Git-Url: https://v.licheni.net/stack/conf/zsh.git/commitdiff_plain/HEAD?ds=sidebyside hardcoding basepath --- diff --git a/zshrc b/zshrc index 5718a6b..ce57c76 100644 --- a/zshrc +++ b/zshrc @@ -1,5 +1,6 @@ +BASE=$HOME/.config/zsh # Path to your oh-my-zsh configuration. -ZSH=`dirname $(readlink $0)` +ZSH=$BASE/oh-my-zsh # Set name of the theme to load. # Look in ~/.oh-my-zsh/themes/ @@ -43,7 +44,7 @@ ZSH_THEME="dpoggi" plugins=(git) source $ZSH/oh-my-zsh.sh -source $ZSH/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source $BASE/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # Customize to your needs... alias -g emc='emacsclient -c'