瀏覽代碼

Revert "use $VISUAL environment variable for plugins"

This reverts commit 9f3fbd93ce.
master
Arun Prakash Jana 4 年之前
父節點
當前提交
f4cb5c63d0
共有 4 個文件被更改,包括 4 次插入4 次删除
  1. +1
    -1
      plugins/.nmv
  2. +1
    -1
      plugins/bulknew
  3. +1
    -1
      plugins/dups
  4. +1
    -1
      plugins/suedit

+ 1
- 1
plugins/.nmv 查看文件

@@ -16,7 +16,7 @@
# Shell: bash
# Author: KlzXS

EDITOR="${VISUAL:-${EDITOR:-vi}}"
EDITOR="${EDITOR:-vi}"
TMPDIR="${TMPDIR:-/tmp}"
INCLUDE_HIDDEN="${INCLUDE_HIDDEN:-0}"
VERBOSE="${VERBOSE:-0}"


+ 1
- 1
plugins/bulknew 查看文件

@@ -9,7 +9,7 @@
# Shell: POSIX compliant
# Author: KlzXS

EDITOR="${VISUAL:-${EDITOR:-vi}}"
EDITOR="${EDITOR:-vi}"
TMPDIR="${TMPDIR:-/tmp}"

printf "'f'ile / 'd'ir? "


+ 1
- 1
plugins/dups 查看文件

@@ -14,7 +14,7 @@
# If the size of a file has more that $size_digits digits the file will be misplaced
# 12 digits fit files up to 931GiB

EDITOR="${VISUAL:-${EDITOR:-vi}}"
EDITOR="${EDITOR:-vi}"
TMPDIR="${TMPDIR:-/tmp}"

size_digits=12


+ 1
- 1
plugins/suedit 查看文件

@@ -5,7 +5,7 @@
# Shell: POSIX compliant
# Author: Anna Arad

EDITOR="${VISUAL:-${EDITOR:-vi}}"
EDITOR="${EDITOR:-vim}"

is_cmd_exists () {
which "$1" > /dev/null 2>&1


Loading…
取消
儲存