Skip to content

Commit

Permalink
Better zsh autocomplete instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
samg committed Feb 1, 2014
1 parent 410071c commit dea6ccd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -409,12 +409,16 @@ source /path/to/timetrap-1.x.y/gem/completions/bash/timetrap-autocomplete.bash

### zsh

You need to add timetrap's zsh completions directory to your `$fpath`,
so add the following to your `.zshrc`:
If it isn't already, add the following to your `.zshrc`:

```zsh
autoload -U compinit
compinit
```

Then add this to source the completions:

```zsh
fpath=(/path/to/timetrap-1.x.y/gem/completions/zsh $fpath)
```

Expand Down

0 comments on commit dea6ccd

Please sign in to comment.