summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-03-01 00:10:03 +1100
committerMaxime Coste <mawww@kakoune.org>2018-03-01 00:10:03 +1100
commite39e91049c4ee6f84ab7c42e5ac8ad9da56093f1 (patch)
treee64aa9238428073f55cfe778d27d64917bcfd5f5 /doc
parent2193947b710ef015d11ad5587b1cc60831783d5b (diff)
interfacing.asciidoc: Fix some errors in the interactive sample
Fixes #1891
Diffstat (limited to 'doc')
-rw-r--r--doc/interfacing.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/interfacing.asciidoc b/doc/interfacing.asciidoc
index 1b3f8d10..0d922b5b 100644
--- a/doc/interfacing.asciidoc
+++ b/doc/interfacing.asciidoc
@@ -62,8 +62,8 @@ The common pattern to do that is to use a fifo buffer:
# run command detached from the shell
( run command here > ${output} ) > /dev/null 2>&1 < /dev/null &
# Open the file in Kakoune and add a hook to remove the fifo
- echo "edit! -fifo %{output} *buffer-name*
- hook buffer BufClose .* %{ nop %sh{ rm -r $(dirname ${output}} }"
+ echo "edit! -fifo ${output} *buffer-name*
+ hook buffer BufClose .* %{ nop %sh{ rm -r $(dirname ${output})} }"
}
-----