(shell completion.ShellType)
| 128 | } |
| 129 | |
| 130 | func (i *integrateCmd) getShellName(shell completion.ShellType) string { |
| 131 | switch shell { |
| 132 | case completion.BashShell: |
| 133 | return "bash" |
| 134 | case completion.ZshShell: |
| 135 | return "zsh" |
| 136 | case completion.TypePowerShell: |
| 137 | return "PowerShell" |
| 138 | default: |
| 139 | return "unknown" |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | func (i *integrateCmd) doUnregister(shell completion.ShellType) error { |
| 144 | switch shell { |
no outgoing calls
no test coverage detected