Skip to content

Commit

Permalink
Merge pull request #508 from aldisruiz/fish-completion
Browse files Browse the repository at this point in the history
Add documentation on Fish completions
  • Loading branch information
ernilambar committed Jun 17, 2024
2 parents 5aad9bf + c32b384 commit eb1f19e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ Note: the Oh My Zsh plugin comes with the bash completion script included, so it

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

#### Fish

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`.
Afterwards just type `wp` and press `TAB`, and fish will automatically source `wp.fish`.

### Dash/Alfred workflow

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

0 comments on commit eb1f19e

Please sign in to comment.