diff options
| author | Zack Hobson | 2013-12-21 18:41:03 -0800 |
|---|---|---|
| committer | Zack Hobson | 2013-12-21 18:41:03 -0800 |
| commit | fd426b4a0476f517e7b956de46f3d25e4e86f7b6 (patch) | |
| tree | eb2403a184b4527acbb6d3d9719e85e00128f706 /lib | |
| parent | fd2bb13174bb2605fac838c666597f6f223e81dc (diff) | |
| download | hcl-fd426b4a0476f517e7b956de46f3d25e4e86f7b6.tar.bz2 | |
README: support multiple profiles
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/commands.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb index a725ad4..024d595 100644 --- a/lib/hcl/commands.rb +++ b/lib/hcl/commands.rb @@ -67,8 +67,8 @@ module HCl end end - def completion - %[complete -W "#{aliases.join ' '}" hcl] + def completion command=$PROGRAM_NAME + %[complete -W "#{aliases.join ' '}" #{command}] end def aliases |
