hardcoding basepath master
authorDavide Riccardo Caliendo <davide@licheni.net>
Fri, 26 Jul 2013 12:33:05 +0000 (14:33 +0200)
committerDavide Riccardo Caliendo <davide@licheni.net>
Fri, 26 Jul 2013 12:33:05 +0000 (14:33 +0200)
zshrc

diff --git a/zshrc b/zshrc
index 5718a6b..ce57c76 100644 (file)
--- 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'