diff options
| author | Zack Hobson | 2014-01-26 09:57:08 -0800 |
|---|---|---|
| committer | Zack Hobson | 2014-01-26 09:57:08 -0800 |
| commit | 8c39b363ca5fc3f38772ad579f1145a72a97a1b4 (patch) | |
| tree | 31c123bc8c649ace1f52bc6cb020fdd6ba87407d /man | |
| parent | 5498488f77446fd79bea7b43f24f6b4c20d507ef (diff) | |
| download | hcl-8c39b363ca5fc3f38772ad579f1145a72a97a1b4.tar.bz2 | |
deprecate completion command, closes #51
Diffstat (limited to 'man')
| -rw-r--r-- | man/hcl.1.ronn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/hcl.1.ronn b/man/hcl.1.ronn index 52ebd9d..c40bfcb 100644 --- a/man/hcl.1.ronn +++ b/man/hcl.1.ronn @@ -102,7 +102,7 @@ The above starts and immediately stops a one-hour timer with the given note. You can enable auto-completion of task aliases by adding this to your shell configuration: - eval `hcl completion` + complete -W `cat ~/.hcl/aliases` hcl ### Configuration Profiles @@ -116,7 +116,7 @@ Here is a shell alias `myhcl` with a separate configuration from the main `hcl` command, and another command to configure alias completion: alias myhcl="env HCL_DIR=~/.myhcl hcl" - eval `myhcl completion myhcl` + complete -W `cat ~/.myhcl/aliases` myhcl Adding something like the above to your bashrc will enable a new command, `myhcl`. When using `myhcl` you can use different credentials and aliases, |
