mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-05-16 02:23:09 +00:00
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:
parent
0052b338e8
commit
a6162c2c84
7 changed files with 27 additions and 37 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue