Merge pull request #799 from tchici/master

nuke plugin: use $VISUAL environment variable
This commit is contained in:
Mischievous Meerkat 2020-11-22 21:34:46 +05:30 committed by GitHub
commit be34af5aeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ IMAGE_CACHE_PATH="$(dirname "$1")"/.thumbs
FPATH="$1" FPATH="$1"
FNAME=$(basename "$1") FNAME=$(basename "$1")
EDITOR="${EDITOR:-vi}" EDITOR="${VISUAL:-${EDITOR:-vi}}"
PAGER="${PAGER:-less -R}" PAGER="${PAGER:-less -R}"
ext="${FNAME##*.}" ext="${FNAME##*.}"
if [ -n "$ext" ]; then if [ -n "$ext" ]; then