AutoYADM commit: 2025-05-25 23:09:09
This commit is contained in:
parent
dac2a9b866
commit
0a7eec16bc
4 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue