summaryrefslogtreecommitdiff
path: root/cmd/install/zsh.go
diff options
context:
space:
mode:
authorSeth Vargo <[email protected]>2017-08-29 12:55:27 -0400
committerSeth Vargo <[email protected]>2017-08-29 12:55:27 -0400
commit0c517573da7fba5149bb7ff5ddeec884cd378692 (patch)
tree58d5ccc1173847b4d1a522d4353fb89d323fcafa /cmd/install/zsh.go
parent2100d1b06c06462a8a47bfc41a7f24a5d60a1420 (diff)
Use nospace option for zsh
Diffstat (limited to 'cmd/install/zsh.go')
-rw-r--r--cmd/install/zsh.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/install/zsh.go b/cmd/install/zsh.go
index 9ece779..a625f53 100644
--- a/cmd/install/zsh.go
+++ b/cmd/install/zsh.go
@@ -35,5 +35,5 @@ func (z zsh) Uninstall(cmd, bin string) error {
}
func (zsh) cmd(cmd, bin string) string {
- return fmt.Sprintf("complete -C %s %s", bin, cmd)
+ return fmt.Sprintf("complete -o nospace -C %s %s", bin, cmd)
}