$FCEDIT
–
Editor Used by fc
$FCEDIT defines the editor used by the fc builtin. When fc displays the list of commands, it first
checks $FCEDIT, then $EDITOR and finally falls back to default value vi.
Links
BashSupport Pro is a Zsh IDE with support for $FCEDIT – try it now!