summaryrefslogtreecommitdiff
path: root/cmd/install/zsh.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-08-29 20:11:12 +0300
committerGitHub <[email protected]>2017-08-29 20:11:12 +0300
commit9f41f7636a724791a3b8b1d35e84caa1124f0d3c (patch)
tree58d5ccc1173847b4d1a522d4353fb89d323fcafa /cmd/install/zsh.go
parent2100d1b06c06462a8a47bfc41a7f24a5d60a1420 (diff)
parent0c517573da7fba5149bb7ff5ddeec884cd378692 (diff)
Merge pull request #50 from sethvargo/sethvargo/nospace
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)
}