Skip to content

Commit 866c6b4

Browse files
Restore tab completion docs to index
1 parent 2acd183 commit 866c6b4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,22 @@ WP-CLI project config:
9191
WP-CLI version: 0.23.0
9292
```
9393

94+
### Updating
95+
9496
You can update WP-CLI with `wp cli update` ([doc](https://wp-cli.org/commands/cli/update/)), or by repeating the installation steps.
9597

9698
Want to live life on the edge? Run `wp cli update --nightly` to use the latest nightly build of WP-CLI. The nightly build is more or less stable enough for you to use in your development environment, and always includes the latest and greatest WP-CLI features.
9799

100+
### Tab completions
101+
102+
WP-CLI also comes with a tab completion script for Bash and ZSH. Just download [wp-completion.bash](https://github.com/wp-cli/wp-cli/raw/master/utils/wp-completion.bash) and source it from `~/.bash_profile`:
103+
104+
```
105+
source /FULL/PATH/TO/wp-completion.bash
106+
```
107+
108+
Don't forget to run `source ~/.bash_profile` afterwards.
109+
98110
## Support
99111

100112
WP-CLI's maintainers and project contributors do their best to respond to all new issues in a timely manner. To make the best use of their volunteered time, please first see if there may be an answer to your question in one of the following resources:

0 commit comments

Comments
 (0)