Skip to main content
edited tags
Link
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k
Source Link
bastian
  • 143
  • 7

Fish EDITOR environment variable does not seem to work

I recently started using the Fish shell.

echo $EDITOR returns vim

But yet, when using programs that need to launch an editor and look for it in the EDITOR environment variable they don't seem to find anything.

As an example when using pass edit (from https://www.passwordstore.org/) it returns

vi: command not found (it uses vi as a fallback when nothing is set in the EDITOR env variable)

What did I miss?