Skip to content

Commit

Permalink
Merge pull request #84 from helhum/patch-1
Browse files Browse the repository at this point in the history
Fix typos in README
  • Loading branch information
stecman committed Apr 2, 2018
2 parents cd73886 + fdf6dcd commit 4d1901e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ If you don't need any custom completion behaviour, you can simply add the comple
eval $([program] _completion --generate-hook)
```

By default this registers completion for the absolute path to you application, which will work if the program on accessible on your PATH. You can specify a program name to complete for instead using the `--program` option, which is required if you're using an alias to run the program.
By default this registers completion for the absolute path to you application, which will work if the program is accessible on your PATH. You can specify a program name to complete for instead using the `--program` option, which is required if you're using an alias to run the program.

4. If you want the completion to apply automatically for all new shell sessions, add the command from step 3 to your shell's profile (eg. `~/.bash_profile` or `~/.zshrc`)

Expand Down Expand Up @@ -206,7 +206,7 @@ To have a completion run for both options and arguments matching the specified n
$handler->addHandler(
new Completion(
Completion::ALL_COMMANDS,
'pacakge',
'package',
Completion::ALL_TYPES,
function() {
// ...
Expand Down

0 comments on commit 4d1901e

Please sign in to comment.