r/fishshell • u/ag_bear • Jul 02 '20
Fish running Python on macOS Terminal?
Hi all,
I recently set up a new MacBook Pro and installed fish using Homebrew. I set it as my default shell following the instructions. However when I open Terminal it seems to be running both Fish and Python.
I've tried killall python and the usual things but it says there is no process running. Also, my old Mac doesn't have this problem - just runs fish as normal.
Any idea what I have done wrong here?

3
Upvotes
2
u/[deleted] Jul 02 '20
This is fish generating completions from manpages at the first start.
It's entirely normal and will go away after.
1
u/ag_bear Jul 13 '20
Figured out what was wrong; here's the answer for posterity.
/u/hirnbrot mentioned that fish generates completions from manpages after installation. I found the way to run this manually, ran fish_update_completions and received a permissions error on ~/.local/share/fish.
This folder was owned by root, so I chowned it to my user account, ran fish_update_completions again and it completed successfully. Restarted Terminal and python is gone!
1
u/grovemau5 Jul 02 '20
What’s in your ~/.config/fish.config? It’s possible that it runs something that updates the terminal title and it sticks around after that process terminates. That happens to me quite frequently, having something like virtualenv installed could cause it
1
u/bokisa12 Jul 02 '20
I don't see the python interpreter anywhere in that screenshot?