echo .bashrc begin
# .bashrc
[ $0 != sh ] && [ -n "${ENV:=$HOME/.env}" ] && . "$ENV"
PS1='\[\033[1;33m\]$($HOME/.local/bin/prompt)\[\033[0m\]'
HISTCONTROL=ignoreboth:erasedups
HISTIGNORE="gst"
# see man strftime
HISTTIMEFORMAT="%F "
# Uncomment this line and remove `histappend' to enable shared history.
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r;"
#shopt -s histappend
# Enable recursive search including hidden subs
shopt -s globstar dotglob
# See Bash manual
_completion_loader()
{
# Completion files on Arch
. "/usr/share/bash-completion/completions/$1" >/dev/null 2>&1 && return 124
}
complete -D -F _completion_loader -o bashdefault -o default
# Load if available
[ -f ~/.fzf.bash ] && . ~/.fzf.bash
[ -f ~/.config/broot/launcher/bash/br ] && . ~/.config/broot/launcher/bash/br
[ -f ~/.local/src/z.sh ] && . ~/.local/src/z.sh
echo .bashrc end