Escaping tweak in git.kak
This commit is contained in:
parent
707904a91b
commit
53d9b9b676
|
@ -166,16 +166,16 @@ define-command -params 1.. \
|
||||||
mkfifo ${output}
|
mkfifo ${output}
|
||||||
( git "$@" > ${output} 2>&1 & ) > /dev/null 2>&1 < /dev/null
|
( git "$@" > ${output} 2>&1 & ) > /dev/null 2>&1 < /dev/null
|
||||||
|
|
||||||
printf %s "evaluate-commands -try-client '$kak_opt_docsclient' '
|
printf %s "evaluate-commands -try-client '$kak_opt_docsclient' %{
|
||||||
edit! -fifo ${output} *git*
|
edit! -fifo ${output} *git*
|
||||||
set-option buffer filetype ${filetype}
|
set-option buffer filetype ${filetype}
|
||||||
$(hide_blame)
|
$(hide_blame)
|
||||||
set-option buffer git_blob %{}
|
set-option buffer git_blob %{}
|
||||||
hook -always -once buffer BufCloseFifo .* ''
|
hook -always -once buffer BufCloseFifo .* %{
|
||||||
nop %sh{ rm -r $(dirname ${output}) }
|
nop %sh{ rm -r $(dirname ${output}) }
|
||||||
$(printf %s "${on_close_fifo}" | sed "s/'/''''/g")
|
$(printf %s "${on_close_fifo}" | sed s/\'/\'\'/g)
|
||||||
''
|
}
|
||||||
'"
|
}"
|
||||||
}
|
}
|
||||||
|
|
||||||
hide_blame() {
|
hide_blame() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user