Update bashrc to check for local bash completions

This commit is contained in:
Isaac Shoebottom 2025-03-19 12:50:14 -03:00
parent 614b78873a
commit 0de1c0f2d3
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,11 @@
# Do not install completions unless no working, check /usr/share/bash-completion
eval "$(zoxide init bash)"
# Local bash-completion
if [[ -f $HOME/.local/bin/bash_completion ]]; then
source $HOME/.local/bin/bash_completion
fi
# Set aliases
alias grep="ugrep"
alias cd="z"

View File

@ -1,4 +1,5 @@
# If running interactively, then:
if ($?prompt) then
set SHELL = "/usr/bin/bash" && exec $SHELL
set SHELL = "/usr/bin/bash"
exec $SHELL
endif