Fixing vifs: editing error
If you get this:
sudo vifs
vifs: editing error
when running vifs
(perhaps when uninstalling Nix) then check your $EDITOR
environment variable. I had set mine to use Sublime:
echo $EDITOR
subl --wait
To fix this error temporarily change the env var:
env EDITOR=nano sudo vifs