hardcoding basepath
[stack/conf/zsh.git] / 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.
 # 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/
 
 # 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
 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'
 
 # Customize to your needs...
 alias -g emc='emacsclient -c'