diff options
| -rw-r--r-- | README.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 52fb0ad..32fb6ed 100644 --- a/README.markdown +++ b/README.markdown @@ -140,9 +140,10 @@ once, specify an alternate configuration directory in the environment as once. Here is a shell alias `myhcl` with a separate configuration from the -main `hcl` command, tab completion will work with the alias automatically: +main `hcl` command, and another command to configure alias completion: alias myhcl="env HCL_DIR=~/.myhcl hcl" + complete -F _hcl 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, |
