diff --git a/rc/modules/fzf-file.kak b/rc/modules/fzf-file.kak index a72243c..479a496 100644 --- a/rc/modules/fzf-file.kak +++ b/rc/modules/fzf-file.kak @@ -46,7 +46,7 @@ define-command -hidden fzf-file %{ evaluate-commands %sh{ (fd) cmd="fd --type f --follow" ;; (find*|ag*|rg*|fd*) cmd=$kak_opt_fzf_file_command ;; (*) items_executable=$(printf "%s\n" "$kak_opt_fzf_file_command" | grep -o -E "[[:alpha:]]+" | head -1) - printf "%s\n" "echo -markup '{Information}'Warning: '$executable'' is not supported by fzf.kak.'" + printf "%s\n" "echo -markup %{{Information}Warning: '$items_executable' is not supported by fzf.kak.}" cmd=$kak_opt_fzf_file_command ;; esac diff --git a/rc/modules/fzf-grep.kak b/rc/modules/fzf-grep.kak index cd2b4d5..243329a 100644 --- a/rc/modules/fzf-grep.kak +++ b/rc/modules/fzf-grep.kak @@ -28,7 +28,7 @@ define-command -hidden fzf-grep %{ evaluate-commands %sh{ (rg) cmd="rg --line-number --no-column --no-heading --color=never ''" ;; (grep*|rg*) cmd=$kak_opt_fzf_grep_command ;; (*) items_executable=$(printf "%s\n" "$kak_opt_fzf_grep_command" | grep -o -E "[[:alpha:]]+" | head -1) - printf "%s\n" "echo -markup %{{Information}Warning: '$executable' is not supported by fzf.kak.}" + printf "%s\n" "echo -markup %{{Information}Warning: '$items_executable' is not supported by fzf.kak.}" cmd=$kak_opt_fzf_grep_command ;; esac