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