Skip to content

Commit

Permalink
Hotfix: config file was ignored by mistake
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Gongora <andresgongora@uma.es>
  • Loading branch information
andresgongora committed Jul 4, 2019
1 parent df933d6 commit fd80562
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions synth-shell/alias.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions synth-shell/status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd80562

Please sign in to comment.