Shawn Williams
Shawn Williams

Reputation: 23

/.profile "Unexpected EOF while looking for matching `" '

I am new to the terminal and have been working towards adding Grunt to my workflow. I am receiving this error in my Terminal and I don't see any missing " in my .profile file.

-bash: /Users/shawnwilliams/.profile: line 4: unexpected EOF while looking for matching `"'
-bash: /Users/shawnwilliams/.profile: line 6: syntax error: unexpected end of file

Here is my .profile (Edited as I provided the wrong file.)

export PATH="$PATH:$HOME/.rvm/bin:/usr/local/bin” # Add RVM to PATH for scripting

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

Upvotes: 1

Views: 4346

Answers (2)

par
par

Reputation: 17724

It looks like you're using a non-ascii double-quote character after /usr/local/bin. Try changing the double quotes to ascii.

Upvotes: 3

Born2Code
Born2Code

Reputation: 1075

The issue is in your .profile, not .bash_profile, as indicated by the error message. your .profile is sourced in the first line and then bash complains.

Upvotes: 0

Related Questions