commit f4cb5c63d048e0da29bc2f89b1df7a65167ab5b5
parent b54fc95c43e7485a3e21ab07b20a370f07eb5cfe
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sat, 28 Nov 2020 10:03:05 +0530
Revert "use $VISUAL environment variable for plugins"
This reverts commit 9f3fbd93ce4a326ed6b08f84f5301e7d588444cd.
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/.nmv b/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}"
diff --git a/plugins/bulknew b/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? "
diff --git a/plugins/dups b/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
diff --git a/plugins/suedit b/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