| 155 | } |
| 156 | |
| 157 | func fishCompletionLong(programName string) string { |
| 158 | return fmt.Sprintf(`Generate the autocompletion script for the fish shell. |
| 159 | |
| 160 | To load completions in your current shell session: |
| 161 | |
| 162 | %[1]s completion fish | source |
| 163 | |
| 164 | To load completions for every new session, execute once: |
| 165 | |
| 166 | %[1]s completion fish > ~/.config/fish/completions/%[1]s.fish |
| 167 | |
| 168 | You will need to start a new shell for this setup to take effect. |
| 169 | `, programName) |
| 170 | } |
| 171 | |
| 172 | func powershellCompletionLong(programName string) string { |
| 173 | return fmt.Sprintf(`Generate the autocompletion script for powershell. |