From 5f91e27ade083a2c05dc12d7464161803ba2220f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Sun, 12 Jan 2025 06:51:09 +0500 Subject: [PATCH] Minor. --- dobroho_vechora.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dobroho_vechora.bash b/dobroho_vechora.bash index b40a7e5..0ffd906 100755 --- a/dobroho_vechora.bash +++ b/dobroho_vechora.bash @@ -94,7 +94,7 @@ while :; do case "${cmd}" in I) tmp="$(mktemp)" - command ${VISUAL:-${EDITOR:-$(command -v vi)}} "${tmp}" + "${VISUAL:-"${EDITOR:-"$(which vi)"}"}" "${tmp}" [ -s "${tmp}" ] && send_message 0"${nick}$(cat "${tmp}")" rm "${tmp}" ;;