diff --git a/.config/shell/env b/.config/shell/env index 0f56cce..a83d73a 100644 --- a/.config/shell/env +++ b/.config/shell/env @@ -8,6 +8,10 @@ if ! [ -d "$SHELL_CONFIG_DIR" ]; then echo "FATAL ERROR: \$SHELL_CONFIG_DIR is not set to a real directory: $SHELL_CONFIG_DIR" >&2 fi +if [ -z "$PROFILE_LOADED" ] && [ -f ~/.profile ]; then + . ~/.profile +fi + # Intelligently set $EDITOR if command -v nvim > /dev/null;then export EDITOR=nvim