dotfiles/bash/.bashrc

13 lines
410 B
Bash
Raw Normal View History

2024-05-19 02:23:03 -04:00
PS1='%F{blue}%~ %(?.%F{green}.%F{red})%#%f '
2024-05-17 20:46:22 -04:00
2024-05-19 02:23:03 -04:00
# shellcheck disable=SC1091
2024-05-17 20:46:22 -04:00
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliases"
if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functions" ]; then
for func in "${XDG_CONFIG_HOME:-$HOME/.config}"/shell/functions/*; do
2024-05-19 02:23:03 -04:00
# shellcheck disable=SC1090
2024-05-17 20:46:22 -04:00
. "$func"
done
unset func
fi