interfacing.asciidoc: Fix some errors in the interactive sample
Fixes #1891
This commit is contained in:
parent
2193947b71
commit
e39e91049c
|
@ -62,8 +62,8 @@ The common pattern to do that is to use a fifo buffer:
|
||||||
# run command detached from the shell
|
# run command detached from the shell
|
||||||
( run command here > ${output} ) > /dev/null 2>&1 < /dev/null &
|
( run command here > ${output} ) > /dev/null 2>&1 < /dev/null &
|
||||||
# Open the file in Kakoune and add a hook to remove the fifo
|
# Open the file in Kakoune and add a hook to remove the fifo
|
||||||
echo "edit! -fifo %{output} *buffer-name*
|
echo "edit! -fifo ${output} *buffer-name*
|
||||||
hook buffer BufClose .* %{ nop %sh{ rm -r $(dirname ${output}} }"
|
hook buffer BufClose .* %{ nop %sh{ rm -r $(dirname ${output})} }"
|
||||||
}
|
}
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user