# Shell: bash
# Author: KlzXS
-EDITOR="${VISUAL:-${EDITOR:-vi}}"
+EDITOR="${EDITOR:-vi}"
TMPDIR="${TMPDIR:-/tmp}"
INCLUDE_HIDDEN="${INCLUDE_HIDDEN:-0}"
VERBOSE="${VERBOSE:-0}"
# Shell: POSIX compliant
# Author: KlzXS
-EDITOR="${VISUAL:-${EDITOR:-vi}}"
+EDITOR="${EDITOR:-vi}"
TMPDIR="${TMPDIR:-/tmp}"
printf "'f'ile / 'd'ir? "
# 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
# Shell: POSIX compliant
# Author: Anna Arad
-EDITOR="${VISUAL:-${EDITOR:-vi}}"
+EDITOR="${EDITOR:-vim}"
is_cmd_exists () {
which "$1" > /dev/null 2>&1