shell-dynamic-complete-functions

shell-dynamic-complete-functions is a variable defined in `shell.el'.
Its value is

(comint-c-a-p-replace-by-expanded-history shell-environment-variable-completion shell-command-completion shell-c-a-p-replace-by-expanded-directory pcomplete-completions-at-point shell-filename-completion comint-filename-completion)

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

Documentation:
List of functions called to perform completion.
This variable is used to initialize `comint-dynamic-complete-functions' in the
shell buffer.

You can customize this variable.