incus profile edit incus-os:metasyn Error: exec: “nvim”: executable file not found in $PATH
where, I can confirm it is on my user’s PATH. Changing it to EDITOR=vi or something works, but, I was surprised as I’m not running sudo incus?
PATH
EDITOR=vi
sudo incus
incus --version
returns 6.21
6.21
It should be able to find it, Go will go through each entry of your PATH env variable and look for the binary in there. What wouldn’t work is if nvim is some kind of shell alias for example.
nvim