1
0
Fork 0

remove debug print

This commit is contained in:
Andrey Orst 2018-10-03 17:55:56 +03:00
parent 86371a8c60
commit aecb844af4

View file

@ -181,7 +181,6 @@ define-command -hidden fzf-buffer-search %{
echo "execute-keys %{%<a-|>cat<space>><space>$buffer_content<ret>;}"
echo "execute-keys $line g $char l"
echo "fzf \"execute-keys \$1 gx\" \"(nl -b a -n ln $buffer_content\" \"--reverse | cut -f 1)\""
(echo "fzf \"execute-keys \$1 gx\" \"(nl -b a -n ln $buffer_content\" \"--reverse | cut -f 1)\"") 1>&2
# sleep 1 is needed to because everything is done asynchronously, so file should not be deleted until it was read by fzf
echo "nop %sh{sleep 1; rm $buffer_content}"
}