diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-02-23 12:26:29 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-02-23 12:26:29 +0100 |
commit | f1ae7aec9fd82b10abf17a19de69982f6c2f66da (patch) | |
tree | a1510155550ed9b940cdff9d8d40cebd29aeeb61 /.bashrc | |
parent | 623b8e09f00704cb953f1b718ff9675eaffa7989 (diff) | |
download | dotfiles-f1ae7aec9fd82b10abf17a19de69982f6c2f66da.tar.gz |
dynamic path generation
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -6,15 +6,22 @@ case $- in *) return;; esac -export BASH_IT_CUSTOM="/home/jonas/vimconfig" +if [ -e ".files" ] +then + source .files +else + DOTFILEBASE="/home/jonas/vimconfig" +fi + +export BASH_IT_CUSTOM=$DOTFILEBASE # Path to the bash it configuration -export BASH_IT="/home/jonas/vimconfig/bash-it" +export BASH_IT="$DOTFILEBASE/bash-it" # Lock and Load a custom theme file. # Leave empty to disable theming. # location /.bash_it/themes/ -export BASH_IT_THEME='/home/jonas/vimconfig/theme.bash' +export BASH_IT_THEME="$DOTFILEBASE/theme.bash" # (Advanced): Change this to the name of your remote repo if you # cloned bash-it with a remote other than origin such as `bash-it`. |