From e39e91049c4ee6f84ab7c42e5ac8ad9da56093f1 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 1 Mar 2018 00:10:03 +1100 Subject: [PATCH] interfacing.asciidoc: Fix some errors in the interactive sample Fixes #1891 --- doc/interfacing.asciidoc | 4 ++-- 1 file 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})} }" } -----