.bashrc: Use more portable [[ test
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
d1f7bb4ef2
commit
00ee82685a
2
.bashrc
2
.bashrc
@ -9,7 +9,7 @@
|
|||||||
if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
||||||
PATH=$(brew --prefix coreutils)/libexec/gnubin:$PATH
|
PATH=$(brew --prefix coreutils)/libexec/gnubin:$PATH
|
||||||
|
|
||||||
if [ -f $(brew --prefix)/etc/bash_completion ]; then
|
if [[ -f $(brew --prefix)/etc/bash_completion ]]; then
|
||||||
. $(brew --prefix)/etc/bash_completion
|
. $(brew --prefix)/etc/bash_completion
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user