commit be34af5aeb4bdb058b70112d36a8a1374bcd75c5
parent 9e3bd377b0c721ec9abc2040f5396e39560aa8d1
Author: Mischievous Meerkat <engineerarun@gmail.com>
Date: Sun, 22 Nov 2020 21:34:46 +0530
Merge pull request #799 from tchici/master
nuke plugin: use $VISUAL environment variable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/nuke b/plugins/nuke
@@ -76,7 +76,7 @@ IMAGE_CACHE_PATH="$(dirname "$1")"/.thumbs
FPATH="$1"
FNAME=$(basename "$1")
-EDITOR="${EDITOR:-vi}"
+EDITOR="${VISUAL:-${EDITOR:-vi}}"
PAGER="${PAGER:-less -R}"
ext="${FNAME##*.}"
if [ -n "$ext" ]; then