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:
parent
2d37ea1135
commit
4000e091a9
1 changed files with 1 additions and 1 deletions
2
install
2
install
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue