How do I correctly add chrome to my conda BASH path

Viewed 17

I'm trying to run a remote debugging port on Chrome with Selenium.

From what I understand, I need to add chrome to my bash path but am having trouble getting this to work.

I've been following this tutorial https://apple.stackexchange.com/questions/228512/how-do-i-add-chrome-to-my-path

My bash screen currently looks like this:

if [ $? -eq 0 ]; then
    eval "$__conda_setup""
else
    if [ -f "/Users/user/opt/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/Users/user/opt/anaconda3/etc/profile.d/conda.sh"
    else
        export
PATH="/Users/user/opt/anaconda3/bin:$PATH:/Users/user/Applications/Google
Chrome.app/Contents/MacOS:$PATH""

When I run try to run Chrome from the terminal it doesn't recognise it.

What am I doing wrong?

0 Answers
Related