Update bashrc to check for local bash completions
This commit is contained in:
parent
614b78873a
commit
0de1c0f2d3
@ -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"
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user