Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    I'm unaccustomed to the fish shell, but in most sh-like shells, you would need to export a shell variable for it to be accessible as an environment variable in child processes (or use setenv in csh). It's possible that the EDITOR variable that you have is just a shell variable and not an enviroment variable. I don't know what the equivalent of export in the fish shell is though. Commented Jun 28, 2022 at 18:35
  • 1
    In fish, it's set -x EDITOR Commented Jun 28, 2022 at 19:30