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?