X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fvariables.sh;h=7d13748ed9d1fcadab147cd81489cf317e693a52;hb=92125d23d0ebadc59b4235ab85370c1ad42d0dbb;hp=8c21424f03e2333de834484c56a68f37101858e7;hpb=96796c0db4950015d366557c046a3c62a5cadf78;p=feisty_meow.git diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index 8c21424f..7d13748e 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -331,20 +331,20 @@ export EDITOR # going to work well unless they can be prevented from forking the process # off. if [ -z "$EDITOR" ]; then - EDITOR="$(which gvim)" + EDITOR="$(whichable gvim)" if [ ! -z "$EDITOR" ]; then # if we found gvim, then add in the no forking flag. EDITOR+=" --nofork" fi fi if [ -z "$EDITOR" ]; then - EDITOR="$(which vim)" + EDITOR="$(whichable vim)" fi if [ -z "$EDITOR" ]; then - EDITOR="$(which vi)" + EDITOR="$(whichable vi)" fi if [ -z "$EDITOR" ]; then - EDITOR="$(which emacs)" + EDITOR="$(whichable emacs)" fi #### # out of ideas about editors at this point.