summaryrefslogtreecommitdiffstats
path: root/README.markdown
diff options
context:
space:
mode:
authorZack Hobson2014-01-26 09:57:08 -0800
committerZack Hobson2014-01-26 09:57:08 -0800
commit8c39b363ca5fc3f38772ad579f1145a72a97a1b4 (patch)
tree31c123bc8c649ace1f52bc6cb020fdd6ba87407d /README.markdown
parent5498488f77446fd79bea7b43f24f6b4c20d507ef (diff)
downloadhcl-8c39b363ca5fc3f38772ad579f1145a72a97a1b4.tar.bz2
deprecate completion command, closes #51
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,