Sfoglia il codice sorgente
use $VISUAL environment variable for plugins
falls back to previous behavior if $VISUAL is not set ($EDITOR then vi)
master
tchici
4 anni fa
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 8C175DAE1F09A006
4 ha cambiato i file con
4 aggiunte e
4 eliminazioni
-
plugins/.nmv
-
plugins/bulknew
-
plugins/dups
-
plugins/suedit
|
|
@@ -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}" |
|
|
|
|
|
@@ -9,7 +9,7 @@ |
|
|
|
# Shell: POSIX compliant |
|
|
|
# Author: KlzXS |
|
|
|
|
|
|
|
EDITOR="${EDITOR:-vi}" |
|
|
|
EDITOR="${VISUAL:-${EDITOR:-vi}}" |
|
|
|
TMPDIR="${TMPDIR:-/tmp}" |
|
|
|
|
|
|
|
printf "'f'ile / 'd'ir? " |
|
|
|
|
|
@@ -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 |
|
|
|
|
|
@@ -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 |
|
|
|