diff --git a/synth-shell/alias.sh b/synth-shell/alias.sh index 2fb30a3..90b1425 100644 --- a/synth-shell/alias.sh +++ b/synth-shell/alias.sh @@ -39,9 +39,12 @@ alias free='\free -mht' ##============================================================================== ## COMMAND OVERRIDES ##============================================================================== + +## GET CURRENT FOLDER DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +## BETTER LS BETTER_LS_FILE="$DIR/better-ls.sh" if [ -f $BETTER_LS_FILE ]; then chmod +x "$BETTER_LS_FILE" @@ -56,6 +59,8 @@ if [ -f /usr/bin/bat ]; then alias cat='bat' ## Replace cat with bat fi + +## BETTER HISTORY BETTER_HISTORY_FILE="$DIR/better-history.sh" if [ -f $BETTER_HISTORY_FILE ]; then source "$BETTER_HISTORY_FILE" diff --git a/synth-shell/status.sh b/synth-shell/status.sh index c2619c9..5d54f9f 100755 --- a/synth-shell/status.sh +++ b/synth-shell/status.sh @@ -1174,8 +1174,8 @@ local print_extra_new_line_bot=true ## LOAD USER CONFIGURATION -local user_config_file="$HOME/.config/scripts/status.config" -local sys_config_file="/etc/andresgongora/scripts/status.config" +local user_config_file="$HOME/.config/synth-shell/status.config" +local sys_config_file="/etc/andresgongora/synth-shell/status.config" if [ -f $user_config_file ]; then source $user_config_file elif [ -f $sys_config_file ]; then