Whats does this error mean? its occuring my the terminal on my ubuntu VM
这个错误是什么意思?它出现在我的ubuntu VM的终端上
bash: /home/greg/.bashrc: line 110: conditional binary operator expected
bash: /home/greg/.bashrc: line 110: syntax error near `"$HOME/.rvm/scripts/rvm"'
bash: /home/greg/.bashrc: line 110: `[[ -s "$HOME/.rvm/scripts/rvm"]] && source $HOME/.rvm/scripts/rvm"'
1 个解决方案
#1
2
Need a space here, right before the ]]
:
这里需要一个空格,就在[]]:
`[[ -s "$HOME/.rvm/scripts/rvm"]]
As in:
如:
`[[ -s "$HOME/.rvm/scripts/rvm" ]]
#1
2
Need a space here, right before the ]]
:
这里需要一个空格,就在[]]:
`[[ -s "$HOME/.rvm/scripts/rvm"]]
As in:
如:
`[[ -s "$HOME/.rvm/scripts/rvm" ]]