Skip to main content

All Questions

Tagged with
1 vote
1 answer
303 views

PYTHONPATH defined on multiple vs single line in fish shell

I noticed that set -xg PYTHONPATH "/path/to/dir1" set -xg PYTHONPATH $PYTHONPATH "/path/to/dir2" works, whereas set -xg PYTHONPATH "/path/to/dir1 /path/to/dir2" does ...
Labrador's user avatar
  • 143
2 votes
1 answer
1k views

How to I persist prepended items to PATH in fish shell?

My PATH Prefixes Don't Persist I'm using Fish v3.2.0. According to the documentation, set -U fish_user_paths should persistently ensure that the directories stored in it should be looked up before ...
CodeGnome's user avatar
  • 2,101
2 votes
1 answer
593 views

Fish Shell - Virtualenv path not prepended to PATH

I am on a Mac running macOS Mojave. I run Iterm2 for terminal and fish version 3.0.0. I also use pipenv to manage my local development. I have this problem where when I activate a python virtual env, ...
Napoleon's user avatar
  • 123
2 votes
1 answer
648 views

Using Fish + NVM + Sublime results in commands not found

I'm using Fish shell/omf, NVM (https://github.com/derekstavis/plugin-nvm), and Sublime Text 3. I'm trying to use a build system to run nodemon (which I installed with npm -g install nodemon). nodemon ...
brandonscript's user avatar
44 votes
6 answers
29k views

How to remove a path from $PATH variable in fish?

I am using fish as my shell in Debian and recently (after some upgrade) whenever I try to use command completion I have: set: No such file or directory set: Could not add component /usr/lib/x86_64-...
tomekK's user avatar
  • 541
10 votes
3 answers
5k views

$PATH is driving me nuts

OK, apologies if this is something dumb, but I'm running out of ideas. Goal: prepend /usr/local/bin to $PATH Problem: $PATH won't do what I want or expect How I got here: I want to start learning ...
Chris4d's user avatar
  • 231