pcomplete-command-completion-function

pcomplete-command-completion-function is a variable defined in `pcomplete.el'.
Its value is

#[0 "\300\301\302\303\"\262!\207" [pcomplete-here nil pcomplete-entries file-executable-p] 5]

  • This variable may be risky if used as a file-local variable.

Documentation:
Function called for completing the initial command argument.

You can customize this variable.