1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-25 16:57:12 -07: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() {