grep command uses file completion
This commit is contained in:
parent
7c039585a4
commit
7266052d46
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user