1 2 3 4
if status is-interactive set -gx EDITOR nvim # Commands to run in interactive sessions can go here end