summaryrefslogtreecommitdiffstats
path: root/README.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 7b3b1da..62859ed 100644
--- a/README.markdown
+++ b/README.markdown
@@ -118,7 +118,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
@@ -132,7 +132,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,