chore(global): update shell scripts and configs

Going to migrate my Git author email address soon :)

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
Andrei Jiroh Halili 2024-10-05 03:57:27 +00:00
parent 0052b338e8
commit a6162c2c84
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
7 changed files with 27 additions and 37 deletions

View file

@ -4,7 +4,12 @@ for file in "${HOME}"/.config/bash/tools/*.bashrc; do
if [ "$file" == "${HOME}/.config/bash/tools/automated-deploy.bashrc" ]; then
[[ $DEBUG != "" ]] && echo "avoiding source loop, skipping $file"
else
[[ $DEBUG != "" ]] && echo "sourcing $file"
[[ $DEBUG != "" ]] && echo "[tools] sourcing $file"
source "$file"
fi
done
for file in "${HOME}"/.config/bash/completions/*.bash; do
[[ $DEBUG != "" ]] && echo "[shell-completions] sourcing $file"
source "$file"
fi

View file

@ -51,7 +51,7 @@ if [ -n "$force_color_prompt" ]; then
fi
fi
# If this is an xterm set the title to user@host:dir
# shell prompts
if command -v oh-my-posh >>/dev/null && [[ $FF_USE_OHMYPOSH != "false" ]]; then
eval "$(oh-my-posh init bash)"
else
@ -72,10 +72,9 @@ export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quo
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
source "${HOME}/.config/bash/aliases"
source "${HOME}/.config/bash/tools/automated-deploy.bashrc"
source "${HOME}/.config/bash/functions"
source "${HOME}/.config/bash/autoloader.bashrc"
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile