AutoYADM commit: 2025-05-25 23:09:09

This commit is contained in:
Daniel Fichtinger 2025-05-25 23:09:09 -04:00
parent dac2a9b866
commit 0a7eec16bc
4 changed files with 9 additions and 7 deletions

View file

@ -3,9 +3,9 @@ map -docstring "Yazi" global user <space> ': enter-user-mode yazi<ret>'
define-command open-yazi-this-client %{
evaluate-commands %sh{
rm -f /tmp/yazi-path &>/dev/null
rm -f /tmp/yazi-path >/dev/null 2>&1
# TODO: make this use %opt{termcmd} instead
footclient -d error yazi $kak_buffile --chooser-file=/tmp/yazi-path &>/dev/null
footclient -d error yazi $kak_buffile --chooser-file=/tmp/yazi-path >/dev/null 2>&1
P="$(cat /tmp/yazi-path)"
out="info -markup -title {title}Yazi"
if [ -z "$P" ]; then
@ -24,9 +24,9 @@ map -docstring "spawn yazi" global yazi <space> ': spawn-yazi<ret>'
define-command open-yazi-new-client %{
evaluate-commands %sh{
rm -f /tmp/yazi-path &>/dev/null
rm -f /tmp/yazi-path >/dev/null 2>&1
# TODO: make this use %opt{termcmd} instead
footclient -d error yazi $kak_buffile --chooser-file=/tmp/yazi-path &>/dev/null
footclient -d error yazi $kak_buffile --chooser-file=/tmp/yazi-path >/dev/null 2>&1
P="$(cat /tmp/yazi-path)"
out="info -markup -title {title}Yazi"
if [ -z "$P" ]; then