shell-dynamic-complete-command

shell-dynamic-complete-command is an interactive compiled Lisp function in `shell.el'.


(shell-dynamic-complete-command)

Dynamically complete the command at point.
This function is similar to `comint-dynamic-complete-filename', except that it
searches `exec-path' (minus trailing `exec-directory') for completion
candidates. Note that this may not be the same as the shell's idea of the
path.

Completion is dependent on the value of `shell-completion-execonly',
`shell-completion-fignore', plus those that affect file completion. See Info
node `Shell Options'.

Returns t if successful.