mirror of
https://github.com/jarun/nnn.git
synced 2024-11-17 08:32:36 +00:00
Merge pull request #799 from tchici/master
nuke plugin: use $VISUAL environment variable
This commit is contained in:
commit
be34af5aeb
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue