Dynamically figure out the DOT_FILES path

pull/2/head
Bodaniel Jeanes 2010-06-30 18:01:31 +10:00
parent ec096ac7cb
commit 400c715666
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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