我得到这个提示:
-bash: source/Users/sean/.bash_profile: No such file or directory
-bash: /Users/sean/.bash_profile: line 3: syntax error near unexpected token `newline'
-bash: /Users/sean/.bash_profile: line 3: `PS1=\w >'
Seans-MacBook-Pro:~ sean$ source .bash_profile
-bash: source/Users/sean/.bash_profile: No such file or directory
-bash: .bash_profile: line 3: syntax error near unexpected token `newline'
-bash: .bash_profile: line 3: `PS1=\w >
当我打开 .bash_profile 这就是它所说的
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source/Users/seanlanning/.bash_profile "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
PS1=\w >
PS1='\w >'
不知道我搞砸了什么以及 .bash_profile 应该是什么样的?