From 0de1c0f2d348dd0420b8381b532ff4849a361e0c Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Wed, 19 Mar 2025 12:50:14 -0300 Subject: [PATCH] Update bashrc to check for local bash completions --- dot_bashrc | 5 +++++ dot_tcshrc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dot_bashrc b/dot_bashrc index 86dbd81..3189c4a 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -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" diff --git a/dot_tcshrc b/dot_tcshrc index e2af31e..978ac3c 100644 --- a/dot_tcshrc +++ b/dot_tcshrc @@ -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 \ No newline at end of file