mirror of https://github.com/bjeanes/dotfiles.git
Dynamically figure out the DOT_FILES path
parent
ec096ac7cb
commit
400c715666
|
@ -1,5 +1,5 @@
|
||||||
export CURRENT_SHELL="bash"
|
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
|
# All things that are both ZSH and Bash compatible
|
||||||
source $DOT_FILES/shell/common.sh
|
source $DOT_FILES/shell/common.sh
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
export CURRENT_SHELL="zsh"
|
export CURRENT_SHELL="zsh"
|
||||||
export DOT_FILES=$HOME/.config
|
export DOT_FILES=$(dirname $(dirname $(readlink $HOME/.zshrc)))
|
||||||
|
|
||||||
# Install and load oh-my-zsh
|
# Install and load oh-my-zsh
|
||||||
source $DOT_FILES/zsh/oh-my-zsh.zsh
|
source $DOT_FILES/zsh/oh-my-zsh.zsh
|
||||||
|
|
Loading…
Reference in New Issue