From b30d75f8aa2c2dfc4069863ca04f77722095222d Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 2 Dec 2020 23:07:48 +0000 Subject: add freebsd bash completion --- bash/.bashrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bash') diff --git a/bash/.bashrc b/bash/.bashrc index 73a2b8c..ebab135 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -22,9 +22,13 @@ if [ -f $HOME/.nix-profile/etc/profile.d/nix.sh ]; then fi # Enable system bash completions +# Debian derivative if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi +# FreeBSD +[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ + source /usr/local/share/bash-completion/bash_completion.sh TERM="xterm-256color" -- cgit v1.2.1