Refine bash-completion setup for non-Darwin systems in .bashrc
This commit is contained in:
@@ -85,13 +85,11 @@ alias cat="bat"
|
|||||||
set completion-ignore-case On
|
set completion-ignore-case On
|
||||||
|
|
||||||
# bash-completion
|
# bash-completion
|
||||||
if [ ! -f /usr/share/bash-completion/bash_completion ]; then
|
if [[ "$OSTYPE" != "darwin"* ]] && [ ! -f /usr/share/bash-completion/bash_completion ]; then
|
||||||
p i bash-completion
|
p i bash-completion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
|
||||||
. /usr/share/bash-completion/bash_completion
|
. /usr/share/bash-completion/bash_completion
|
||||||
fi
|
|
||||||
|
|
||||||
export OFLAGS="--ozone-platform-hint=auto"
|
export OFLAGS="--ozone-platform-hint=auto"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user