Quantcast
Channel: Active questions tagged fish - Stack Overflow
Viewing all articles
Browse latest Browse all 106

Fish Shell Default PATH

$
0
0

I have a 2023 MacBook Pro that I use to run many python scripts from the terminal using Fish. I use the home-brew python3 installation to avoid messing with my system install, but I am having issues with PIP.

When I type which python3 I get /opt/homebrew/bin/python3 as expected

However, when I type which pip3, I get /Users/username/Library/Python/3.9/bin/pip3, which is not what I want

It looks like Fish is pulling in the path from the system Bash PATH, but I can't figure out where my computer is getting that default path from. I do not have a bash config in my home directory. In /etc/paths.d, the only paths added are to the cryptex system, which I don't care about.

I do occasionally use bash, so I do not want to just add the home-brew path to my .fish-config. Is my best course of action here to create a bash config, or is there something else I need to do?

Thanks for the help, I am pretty new to programming, and chatGPT has been all over the place explaining what to do.


Viewing all articles
Browse latest Browse all 106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>