summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2017-05-29 13:02:09 -0700
committerAndrew Gallant <jamslam@gmail.com>2017-05-29 16:55:03 -0400
commit2628c8f38ee117d41a340afc87454db037b69933 (patch)
tree923b00c3014887f8ad52fd6962d3ce790a1f6d4d /README.md
parent112b3c5e0ae232fdbce90cd505c57f2c4abc4a22 (diff)
Add Zsh completion file
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0098a95f..6b8202e0 100644
--- a/README.md
+++ b/README.md
@@ -338,16 +338,18 @@ The syntax supported is
Shell completion files are included in the release tarball for Bash, Fish, Zsh
and PowerShell.
-For **bash**, move `rg.bash-completion` to `$XDG_CONFIG_HOME/bash_completion`
+For **bash**, move `complete/rg.bash-completion` to `$XDG_CONFIG_HOME/bash_completion`
or `/etc/bash_completion.d/`.
-For **fish**, move `rg.fish` to `$HOME/.config/fish/completions`.
+For **fish**, move `complete/rg.fish` to `$HOME/.config/fish/completions/`.
For **PowerShell**, add `. _rg.ps1` to your PowerShell
[profile](https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx)
(note the leading period). If the `_rg.ps1` file is not on your `PATH`, do
`. /path/to/_rg.ps1` instead.
+For **zsh**, move `complete/_rg` to one of your `$fpath` directories.
+
### Building
`ripgrep` is written in Rust, so you'll need to grab a