Skip to content

Commit eb1f19e

Browse files
authored
Merge pull request #508 from aldisruiz/fish-completion
Add documentation on Fish completions
2 parents 5aad9bf + c32b384 commit eb1f19e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

installing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ Note: the Oh My Zsh plugin comes with the bash completion script included, so it
9191

9292
To have this change take effect in your currently active shell, run `source ~/.zshrc` afterwards.
9393

94+
#### Fish
95+
96+
If you're using the _Fish_ shell, you can download [wp.fish](https://github.com/wp-cli/wp-cli/raw/main/utils/wp.fish) and move it to `~/.config/fish/completions/wp.fish`.
97+
Afterwards just type `wp` and press `TAB`, and fish will automatically source `wp.fish`.
98+
9499
### Dash/Alfred workflow
95100

96101
If you're using _Dash_ and _Alfred_, you can add a custom Alfred workflow to look up WP-CLI command information.

0 commit comments

Comments
 (0)