Merge remote-tracking branch 'lenormf/fix-3432'
This commit is contained in:
commit
42af5e1f9e
|
@ -27,8 +27,11 @@ hook global WinSetOption filetype=man %{
|
||||||
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window man-hooks }
|
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window man-hooks }
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -hidden -params 2..3 man-impl %{ evaluate-commands %sh{
|
define-command -hidden -params ..3 man-impl %{ evaluate-commands %sh{
|
||||||
buffer_name="$1"
|
buffer_name="$1"
|
||||||
|
if [ -z "${buffer_name}" ]; then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
shift
|
shift
|
||||||
manout=$(mktemp "${TMPDIR:-/tmp}"/kak-man-XXXXXX)
|
manout=$(mktemp "${TMPDIR:-/tmp}"/kak-man-XXXXXX)
|
||||||
manerr=$(mktemp "${TMPDIR:-/tmp}"/kak-man-XXXXXX)
|
manerr=$(mktemp "${TMPDIR:-/tmp}"/kak-man-XXXXXX)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user