瀏覽代碼

nuke plugin: use $VISUAL environment variable

falls back to previous behavior if $VISUAL is not set ($EDITOR then vi)
master
tchici 3 年之前
父節點
當前提交
ea81864e03
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 8C175DAE1F09A006
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      plugins/nuke

+ 1
- 1
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


Loading…
取消
儲存