README.md in timetrap-1.8.8 vs README.md in timetrap-1.8.9

- old
+ new

@@ -62,11 +62,11 @@ You check out with the `out` command. $ t out Checked out of sheet "coding" -Running `edit` when you're checked out will edit the last sheet you checked out +Running `edit` when you're checked out will edit the last entry you checked out of. $ t edit --append "oh and that" Editing last entry you checked out of @@ -369,9 +369,43 @@ `--format` option **default_command**: The default command to invoke when you call `t` **auto_checkout**: Automatically check out of running entries when you check in + +Autocomplete +------------ + +Timetrap has some basic support for autocomplete in bash and zsh. +There are completions for commands and for sheets. + +**HINT** If you don't know where timetrap is installed, +have a look in the directories listed in `echo $GEM_PATH`. + +### bash + +If it isn't already, add the following to your `.bashrc`/`.bash_profile`: + +```bash +if [ -f /etc/bash_completion ]; then + . /etc/bash_completion +fi +``` + +Then add this to source the completions: + +```bash +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`: + +```zsh +fpath=(/path/to/timetrap-1.x.y/gem/completions/zsh $fpath) +``` Special Thanks -------------- The initial version of Timetrap was heavily inspired by Trevor Caira's