Browse Source
nuke plugin: use $VISUAL environment variable
falls back to previous behavior if $VISUAL is not set ($EDITOR then vi)
master
tchici
4 years ago
No known key found for this signature in database
GPG Key ID: 8C175DAE1F09A006
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|