| 183 | } |
| 184 | |
| 185 | ICompleterPtr Group() { |
| 186 | // For some reason, OSX freezes when trying to perform completion for groups. |
| 187 | // You can try removing this ifdef and debugging it, but be prepared to force-shutdown your machine |
| 188 | // (and possibly reinstall OSX if force-shutdown breaks anything). |
| 189 | #ifdef _darwin_ |
| 190 | return MakeSimpleShared<TSimpleCompleter>("", ""); |
| 191 | #else |
| 192 | return MakeSimpleShared<TSimpleCompleter>(Compgen("-A group"), "_groups"); |
| 193 | #endif |
| 194 | } |
| 195 | |
| 196 | ICompleterPtr Url() { |
| 197 | return MakeSimpleShared<TSimpleCompleter>("", "_urls"); |
no test coverage detected