mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
completion: watch out for bash 3
This commit is contained in:
parent
a99b9c201d
commit
c81d8b5c96
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#/etc/bash_completion
|
||||
#/usr/local/share/bash-completion/bash_completion
|
||||
bash_completion_file="/opt/arch/share/bash-completion/bash_completion"
|
||||
if [[ -f "$bash_completion_file" ]]; then
|
||||
if [[ $BASH_VERSION != 3.* && -f "$bash_completion_file" ]]; then
|
||||
source "$bash_completion_file"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue