grep command uses file completion

This commit is contained in:
Maxime Coste 2012-09-12 14:22:01 +02:00
parent 7c039585a4
commit 7266052d46

View File

@ -1,4 +1,5 @@
def -shell-params grep %{ echo grep in progress, please wait...; %sh{
def -shell-params -file-completion \
grep %{ echo grep in progress, please wait...; %sh{
output=$(mktemp -t kak-grep.XXXXXXXX)
grep -PHn $@ >& ${output} < /dev/null &
echo "echo