X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fvariables.sh;h=7d13748ed9d1fcadab147cd81489cf317e693a52;hb=aaadb30bf31dc44d96881cc19a5fb9bf2024710a;hp=8c21424f03e2333de834484c56a68f37101858e7;hpb=88868a6a9a0e44dc3b3d7d92f2d52f62ae7cc348;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.