1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 04:29:03 -08:00

use single brackets for file test

This commit is contained in:
Connor Olding 2021-07-31 12:59:31 -07:00
parent 2d37ea1135
commit 4000e091a9

View file

@ -137,7 +137,7 @@ done
# ensure that .bashrc gets executed
if [ ! -e .bash_profile ] || ! grep -qF .bashrc .bash_profile; then
echo >> .bash_profile
echo '[[ -f ~/.bashrc ]] && . ~/.bashrc' >> .bash_profile
echo '[ -f ~/.bashrc ] && . ~/.bashrc' >> .bash_profile
fi
is_empty() {