Mac OS X Technologies

$PATH issue

Hi, my son was trying to installing something using Homebrew and seems to have messed up PATH

So now

echo $PATH

results in this mess

/Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin /usr/bin /bin /usr/sbin /sbin:~/Library/Python/3.6/bin:~/Library/Python/2.7/bin:/usr/bin:/bin

I tried to reset it using

PATH=/bin:/usr/bin/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

which seems to work when running echo $PATH again, but it doesn't save & reverts back.

How do I reset it correctly?

Click to rate this post!
[Total: 0 Average: 0]

Related posts

Automator workflow – connect to server when locked onto a specific network (Wi-Fi/Ethernet)

Scooby

does anyone think Siri is out da

Pasha

USB mic problem (noise, robot, distort) headset too SOLVED

Marina

Leave a Comment