diff --git a/.config/kak/autoload/fishr/fishr.kak b/.config/kak/autoload/fishr/fishr.kak index 565e16bf..e3a471a4 100644 --- a/.config/kak/autoload/fishr/fishr.kak +++ b/.config/kak/autoload/fishr/fishr.kak @@ -7,10 +7,11 @@ define-command fish -params 1.. -docstring %{ vars=$( printf %s "$1" | grep -o 'kak_\w*' | sort -u | tr '\n' ' ' ) - notify-send "$vars" - args='"$@"' - printf %s "eval %sh{ fish -c $args # $vars} " - } + notify-send "$1" + args='"$1"' + printf %s "eval %sh{ fish -c \"eval $1\" # $vars } " >/tmp/fish-test + printf %s "eval %sh{ fish -c \"eval $1\" # $vars } " + } } define-command fish-keys -params 1.. -docstring %{ diff --git a/.config/kak/kakrc b/.config/kak/kakrc index f6fade73..7330d411 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -3,7 +3,8 @@ colorscheme ashen require-module fishr fish %{ - echo "notify-send $kak_buffile" + notify-send $kak_buffile + notify-send "$kak_buffile" } set-option global ashen_dynamic_cursor true