You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
utils.HandleError(err, "Unable to update .zshrc with completions path")
140
+
}
141
+
}
142
+
117
143
utils.Print("Your shell has been configured for Doppler CLI completions! Restart your shell to apply.")
118
144
utils.Print("")
119
-
ifutils.IsMacOS() {
120
-
utils.Print("Note: The homebrew 'bash-completion' package is required for completions to work. See https://docs.brew.sh/Shell-Completion for more info.")
121
-
} else {
122
-
utils.Print("Note: The 'bash-completion' package is required for completions to work. See https://github.com/scop/bash-completion for more info.")
145
+
ifstrings.HasSuffix(shell, "/zsh") {
146
+
ifusingOhMyZsh {
147
+
utils.Print("Completions installed to your oh-my-zsh completions directory.")
148
+
} elseifutils.IsMacOS() {
149
+
utils.Print("Your .zshrc has been updated to include the completions path.")
150
+
}
151
+
} elseifstrings.HasSuffix(shell, "/bash") {
152
+
ifutils.IsMacOS() {
153
+
utils.Print("Note: The homebrew 'bash-completion' package is required for completions to work. See https://docs.brew.sh/Shell-Completion for more info.")
154
+
} else {
155
+
utils.Print("Note: The 'bash-completion' package is required for completions to work. See https://github.com/scop/bash-completion for more info.")
0 commit comments