shell-completion-execonly

shell-completion-execonly is a variable defined in `shell.el'.
Its value is
t


Documentation:
If non-nil, use executable files only for completion candidates.
This mirrors the optional behavior of tcsh.

Detecting executability of files may slow command completion considerably.

You can customize this variable.