mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-25 07:57:20 +00:00
fix(shell): rework shell config for more stability
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
# Helper variables, override with ENVs like `VERBOSE=1 dfm help`
|
||||
: "${VERBOSE:=0}"
|
||||
: "${DOTFILES:=$HOME/.dotfiles}"
|
||||
: "${SHARED_SCRIPT:=$DOTFILES/scripts/shared.sh}"
|
||||
: "${BREWFILE:=$DOTFILES/config/homebrew/Brewfile}"
|
||||
: "${HOSTFILES:=$DOTFILES/hosts}"
|
||||
|
||||
@@ -17,9 +16,9 @@ SCRIPT=$(basename "$0")
|
||||
|
||||
VERSION_NVM="v0.39.5"
|
||||
|
||||
export DOTFILES_SHARED_LOADED=""
|
||||
export DOTFILES="$HOME/.dotfiles"
|
||||
# shellcheck source=./../../scripts/shared.sh
|
||||
source "$SHARED_SCRIPT"
|
||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||
|
||||
# Loads configs for better installation experience
|
||||
x-load-configs
|
||||
|
||||
Reference in New Issue
Block a user