mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
Revert "use $VISUAL environment variable for plugins"
This reverts commit 9f3fbd93ce
.
This commit is contained in:
parent
b54fc95c43
commit
f4cb5c63d0
|
@ -16,7 +16,7 @@
|
||||||
# Shell: bash
|
# Shell: bash
|
||||||
# Author: KlzXS
|
# Author: KlzXS
|
||||||
|
|
||||||
EDITOR="${VISUAL:-${EDITOR:-vi}}"
|
EDITOR="${EDITOR:-vi}"
|
||||||
TMPDIR="${TMPDIR:-/tmp}"
|
TMPDIR="${TMPDIR:-/tmp}"
|
||||||
INCLUDE_HIDDEN="${INCLUDE_HIDDEN:-0}"
|
INCLUDE_HIDDEN="${INCLUDE_HIDDEN:-0}"
|
||||||
VERBOSE="${VERBOSE:-0}"
|
VERBOSE="${VERBOSE:-0}"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
# Shell: POSIX compliant
|
# Shell: POSIX compliant
|
||||||
# Author: KlzXS
|
# Author: KlzXS
|
||||||
|
|
||||||
EDITOR="${VISUAL:-${EDITOR:-vi}}"
|
EDITOR="${EDITOR:-vi}"
|
||||||
TMPDIR="${TMPDIR:-/tmp}"
|
TMPDIR="${TMPDIR:-/tmp}"
|
||||||
|
|
||||||
printf "'f'ile / 'd'ir? "
|
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
|
# If the size of a file has more that $size_digits digits the file will be misplaced
|
||||||
# 12 digits fit files up to 931GiB
|
# 12 digits fit files up to 931GiB
|
||||||
|
|
||||||
EDITOR="${VISUAL:-${EDITOR:-vi}}"
|
EDITOR="${EDITOR:-vi}"
|
||||||
TMPDIR="${TMPDIR:-/tmp}"
|
TMPDIR="${TMPDIR:-/tmp}"
|
||||||
|
|
||||||
size_digits=12
|
size_digits=12
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# Shell: POSIX compliant
|
# Shell: POSIX compliant
|
||||||
# Author: Anna Arad
|
# Author: Anna Arad
|
||||||
|
|
||||||
EDITOR="${VISUAL:-${EDITOR:-vi}}"
|
EDITOR="${EDITOR:-vim}"
|
||||||
|
|
||||||
is_cmd_exists () {
|
is_cmd_exists () {
|
||||||
which "$1" > /dev/null 2>&1
|
which "$1" > /dev/null 2>&1
|
||||||
|
|
Loading…
Reference in a new issue