mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-16 07:05:02 +00:00
fix(shell): rework shell config for more stability
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
# Load our configuration files
|
||||
# Copyright (c) 2023 Ismo Vuorinen. All Rights Reserved.
|
||||
|
||||
: "${DOTFILES:=$HOME/.dotfiles}"
|
||||
source "$DOTFILES/scripts/shared.sh"
|
||||
DOTFILES="$HOME/.dotfiles"
|
||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||
|
||||
CONFIG_PATH="$DOTFILES/config"
|
||||
|
||||
# Load the shell dotfiles, and then some:
|
||||
function load()
|
||||
function x-load-config-fn()
|
||||
{
|
||||
for FILE in $CONFIG_PATH/{exports,alias,functions}; do
|
||||
FILENAME="$FILE"
|
||||
@@ -28,4 +28,4 @@ function load()
|
||||
done
|
||||
}
|
||||
|
||||
load
|
||||
x-load-config-fn
|
||||
|
||||
Reference in New Issue
Block a user