diff options
Diffstat (limited to 'man/hcl.1.ronn')
| -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, |
