-bash: /root/.bashrc: line 100: conditional binary operator expected
-bash: /root/.bashrc: line 100: syntax error near `"$HOME/.rvm/scripts/rvm"'
-bash: /root/.bashrc: line 100: `[[ -s "$HOME/.rvm/scripts/rvm"]] && source "$HOME/.rvm/scripts/rvm" #Load RVM into a shell session *as a function*'
添加后我得到了这些输出
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*`
在结束时~/.bashrc
有谁知道如何解决这一问题 ?
我想将 rvm 加载到 shell 会话中