summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index c0326c2..5d15aa2 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,6 +1,19 @@
[ -n "$ENV" ] && . "$ENV" || [ -e ~/.env ] && . ~/.env
+# Prompt for Bash
export PS1="\[\033[1;33m\]\u@\h:\W\$ \[\033[0m\]"
+# Verify before running history command
+shopt -s histverify
+
+# See Bash man
+_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