diff options
| author | jason | 2020-12-02 23:07:48 +0000 |
|---|---|---|
| committer | jason | 2020-12-02 23:07:48 +0000 |
| commit | b30d75f8aa2c2dfc4069863ca04f77722095222d (patch) | |
| tree | 93b905bf1d7c9ed277468d27e465689247da32ba /bash | |
| parent | 91b7e68c9a82a9ba07580d6636d48da176a683ee (diff) | |
| download | dotfiles-b30d75f8aa2c2dfc4069863ca04f77722095222d.tar.gz dotfiles-b30d75f8aa2c2dfc4069863ca04f77722095222d.zip | |
add freebsd bash completion
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/.bashrc | 4 |
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 | |||
| 22 | fi | 22 | fi |
| 23 | 23 | ||
| 24 | # Enable system bash completions | 24 | # Enable system bash completions |
| 25 | # Debian derivative | ||
| 25 | if [ -f /etc/bash_completion ]; then | 26 | if [ -f /etc/bash_completion ]; then |
| 26 | . /etc/bash_completion | 27 | . /etc/bash_completion |
| 27 | fi | 28 | fi |
| 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 | ||
| 30 | TERM="xterm-256color" | 34 | TERM="xterm-256color" |