mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -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
|
# ensure that .bashrc gets executed
|
||||||
if [ ! -e .bash_profile ] || ! grep -qF .bashrc .bash_profile; then
|
if [ ! -e .bash_profile ] || ! grep -qF .bashrc .bash_profile; then
|
||||||
echo >> .bash_profile
|
echo >> .bash_profile
|
||||||
echo '[[ -f ~/.bashrc ]] && . ~/.bashrc' >> .bash_profile
|
echo '[ -f ~/.bashrc ] && . ~/.bashrc' >> .bash_profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
is_empty() {
|
is_empty() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue