Add Zsh completion file

This commit is contained in:
Fangrui Song
2017-05-29 13:02:09 -07:00
committed by Andrew Gallant
parent 112b3c5e0a
commit 2628c8f38e
4 changed files with 148 additions and 4 deletions

View File

@@ -20,7 +20,8 @@ mk_tarball() {
cp target/$TARGET/release/rg "$td/$name/"
cp {doc/rg.1,README.md,UNLICENSE,COPYING,LICENSE-MIT} "$td/$name/"
cp target/$TARGET/release/build/ripgrep-*/out/{_rg,rg.bash-completion,rg.fish,_rg.ps1} "$td/$name/complete/"
cp target/$TARGET/release/build/ripgrep-*/out/{rg.bash-completion,rg.fish,_rg.ps1} "$td/$name/complete/"
cp complete/_rg "$td/$name/complete/"
pushd $td
tar czf "$out_dir/$name.tar.gz" *