Closed scruss closed 5 years ago
According to target.h the environment variable to use was BRANDY$EDITOR - but BASH doesn't like $ signs inside variables so I've renamed all the UNIX ones to BRANDY_EDITOR.
And - and enhancement just pushed. If BRANDY_EDITOR isn't set and you're on a UNIX/Linux platform it'll check EDITOR and VISUAL (in that order), and if none are set, it'll fall back on vi.
Action:
or
Expected result: the EDIT command should open the temporary file in the editor of my choice
Actual result: the EDIT command opens the temporary file in vi, the editor of my very last resort.
Platform: Ubuntu Linux 19.04, x86_64