MCPcopy Create free account
hub / github.com/catboost/catboost / GenerateZshAction

Method GenerateZshAction

library/cpp/getopt/small/completer.cpp:300–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 TStringBuf GenerateZshAction(TCompleterManager& manager) const override {
301 return manager.GetCompleterID(this);
302 }
303
304 void GenerateZsh(TFormattedOutput& out, TCompleterManager&) const override {
305 L << "compadd ${@} ${expl[@]} -- \"${(@f)$(${words_orig[@]} " << SpecialFlag << " " << Completer_->GetUniqueName() << " \"${current_orig}\" \"${prefix_orig}\" \"${suffix_orig}\" 2> /dev/null)}\"";

Callers 3

GenerateZshMethod · 0.45
GenerateOptCompletionMethod · 0.45

Calls 1

GetCompleterIDMethod · 0.80

Tested by

no test coverage detected