Pārlūkot izejas kodu

Merge pull request #800 from tchici/master

use $VISUAL environment variable for plugins
master
Mischievous Meerkat GitHub pirms 4 gadiem
vecāks
revīzija
9270d4a044
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
4 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +1
    -1
      plugins/.nmv
  2. +1
    -1
      plugins/bulknew
  3. +1
    -1
      plugins/dups
  4. +1
    -1
      plugins/suedit

+ 1
- 1
plugins/.nmv Parādīt failu

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

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


+ 1
- 1
plugins/bulknew Parādīt failu

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

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

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


+ 1
- 1
plugins/dups Parādīt failu

@@ -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="${EDITOR:-vi}"
EDITOR="${VISUAL:-${EDITOR:-vi}}"
TMPDIR="${TMPDIR:-/tmp}"

size_digits=12


+ 1
- 1
plugins/suedit Parādīt failu

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

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

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


Notiek ielāde…
Atcelt
Saglabāt