This commit is contained in:
bʰedoh₂ swé 2025-01-12 06:51:09 +05:00
parent 672e8b5db7
commit 5f91e27ade

View File

@ -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}"
;;