Skip to content

Commit

Permalink
docs: adds usage section to autocompletion docs
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
  • Loading branch information
weierophinney committed Jun 16, 2020
1 parent 5dcb53c commit c0bf035
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/book/autocompletion.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,20 @@ The above should be placed in your shell configuration file:
- For ZSH users, `$HOME/.zshrc`
- For FISH users, `$HOME/.config/fish/config.fish`

Once the changes have been made, source your shell configuration:
Once the changes have been made, either open a new terminal, or source your
shell configuration:

- For BASH users, `source $HOME/.bashrc`
- For ZSH users, `source $HOME/.zshrc`
- For FISH users, `source $HOME/.config/fish/config.fish`

At this point, when you are in a project that uses laminas-cli, you can type:
## Usage

Once installation and configuration of the tooling is complete and you are
either in a new terminal or have sourced the changes to your shell
configuration, you can invoke autocompletion by pressing `<Tab>` after typing
the `laminas` command at the prompt:

```bash
$ laminas <TAB>
```

and you will see completion for the available commands.

0 comments on commit c0bf035

Please sign in to comment.