diff --git a/vendor/github.com/posener/complete/cmd/install/install.go b/vendor/github.com/posener/complete/cmd/install/install.go index fb44b2b7e..082a2260d 100644 --- a/vendor/github.com/posener/complete/cmd/install/install.go +++ b/vendor/github.com/posener/complete/cmd/install/install.go @@ -19,7 +19,7 @@ type installer interface { func Install(cmd string) error { is := installers() if len(is) == 0 { - return errors.New("Did not found any shells to install") + return errors.New("Did not find any shells to install") } bin, err := getBinaryPath() if err != nil { @@ -41,7 +41,7 @@ func Install(cmd string) error { func Uninstall(cmd string) error { is := installers() if len(is) == 0 { - return errors.New("Did not found any shells to uninstall") + return errors.New("Did not find any shells to uninstall") } bin, err := getBinaryPath() if err != nil { @@ -59,7 +59,7 @@ func Uninstall(cmd string) error { } func installers() (i []installer) { - for _, rc := range [...]string{".bashrc", ".bash_profile"} { + for _, rc := range [...]string{".bashrc", ".bash_profile", ".bash_login", ".profile"} { if f := rcFile(rc); f != "" { i = append(i, bash{f}) break diff --git a/vendor/github.com/posener/complete/cmd/install/zsh.go b/vendor/github.com/posener/complete/cmd/install/zsh.go index 9ece77998..a625f53cf 100644 --- a/vendor/github.com/posener/complete/cmd/install/zsh.go +++ b/vendor/github.com/posener/complete/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) } diff --git a/vendor/vendor.json b/vendor/vendor.json index dc61e2b3a..7a3453dbb 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -2053,10 +2053,10 @@ "revisionTime": "2017-07-30T19:30:24Z" }, { - "checksumSHA1": "kuS9vs+TMQzTGzXteL6EZ5HuKrU=", + "checksumSHA1": "7d+I/1S5kAKCL2mlyu1ntha8Bis=", "path": "github.com/posener/complete/cmd/install", - "revision": "f4461a52b6329c11190f11fe3384ec8aa964e21c", - "revisionTime": "2017-07-30T19:30:24Z" + "revision": "6bee943216c8cea4cc983c8596346d8945279a1f", + "revisionTime": "2017-12-19T11:11:28Z" }, { "checksumSHA1": "DMo94FwJAm9ZCYCiYdJU2+bh4no=",