fix messages
This commit is contained in:
parent
820e700389
commit
16a083cb69
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ define-command -hidden fzf-file %{ evaluate-commands %sh{
|
||||||
(fd) cmd="fd --type f --follow" ;;
|
(fd) cmd="fd --type f --follow" ;;
|
||||||
(find*|ag*|rg*|fd*) cmd=$kak_opt_fzf_file_command ;;
|
(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)
|
(*) 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 ;;
|
cmd=$kak_opt_fzf_file_command ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ define-command -hidden fzf-grep %{ evaluate-commands %sh{
|
||||||
(rg) cmd="rg --line-number --no-column --no-heading --color=never ''" ;;
|
(rg) cmd="rg --line-number --no-column --no-heading --color=never ''" ;;
|
||||||
(grep*|rg*) cmd=$kak_opt_fzf_grep_command ;;
|
(grep*|rg*) cmd=$kak_opt_fzf_grep_command ;;
|
||||||
(*) items_executable=$(printf "%s\n" "$kak_opt_fzf_grep_command" | grep -o -E "[[:alpha:]]+" | head -1)
|
(*) 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 ;;
|
cmd=$kak_opt_fzf_grep_command ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue