diff --git a/bash/bashrc b/bash/bashrc index 0bac75d..cef20eb 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -1,5 +1,5 @@ export CURRENT_SHELL="bash" -export DOT_FILES=$HOME/.config +export DOT_FILES=$(dirname $(dirname $(readlink $BASH_SOURCE))) # All things that are both ZSH and Bash compatible source $DOT_FILES/shell/common.sh diff --git a/zsh/zshrc b/zsh/zshrc index f860e8a..26be7a8 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,5 +1,5 @@ export CURRENT_SHELL="zsh" -export DOT_FILES=$HOME/.config +export DOT_FILES=$(dirname $(dirname $(readlink $HOME/.zshrc))) # Install and load oh-my-zsh source $DOT_FILES/zsh/oh-my-zsh.zsh