use env variables to find home folder

This commit is contained in:
MorganGeek 2020-07-03 11:31:33 +02:00
parent 967fd46455
commit 1b5dbc0aa8
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
[help] [help]
autocorrect = -1 # not more git psuh autocorrect = -1 # not more git psuh
[init] [init]
templateDir = /Users/morganwattiez/.git-template templateDir = ~/.git-template
[core] [core]
pager = diff-so-fancy | less --tabs=4 -RFX pager = diff-so-fancy | less --tabs=4 -RFX
[diff] [diff]

View File

@ -1,4 +1,4 @@
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/Users/morganwattiez/.sdkman" export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "/Users/morganwattiez/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/morganwattiez/.sdkman/bin/sdkman-init.sh" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"