From a71c7a2d3e42a298bc7c2edda71925dcf8266ec4 Mon Sep 17 00:00:00 2001 From: EnigmaCurry Date: Tue, 21 May 2024 19:42:52 -0400 Subject: [PATCH] bash completion --- bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bashrc b/bashrc index 93bdfae..2ad0f7d 100644 --- a/bashrc +++ b/bashrc @@ -21,6 +21,10 @@ alias grep='grep --color=auto' alias bb='rlwrap bb' alias ec="${HOME}/git/vendor/enigmacurry/emacs/ec" +# Use bash-completion, if available +[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ + . /usr/share/bash-completion/bash_completion + ## Rustup cargo environment ## On a new machine, you should run rustup-init first. test -f "$HOME/.cargo/env" && source "$HOME/.cargo/env"