aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorjason2020-12-02 23:07:48 +0000
committerjason2020-12-02 23:07:48 +0000
commitb30d75f8aa2c2dfc4069863ca04f77722095222d (patch)
tree93b905bf1d7c9ed277468d27e465689247da32ba /bash
parent91b7e68c9a82a9ba07580d6636d48da176a683ee (diff)
downloaddotfiles-b30d75f8aa2c2dfc4069863ca04f77722095222d.tar.gz
dotfiles-b30d75f8aa2c2dfc4069863ca04f77722095222d.zip
add freebsd bash completion
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc4
1 files changed, 4 insertions, 0 deletions
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
22fi 22fi
23 23
24# Enable system bash completions 24# Enable system bash completions
25# Debian derivative
25if [ -f /etc/bash_completion ]; then 26if [ -f /etc/bash_completion ]; then
26 . /etc/bash_completion 27 . /etc/bash_completion
27fi 28fi
29# FreeBSD
30[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \
31 source /usr/local/share/bash-completion/bash_completion.sh
28 32
29 33
30TERM="xterm-256color" 34TERM="xterm-256color"