This function attempts to complete any name (word) found at the cursor position. There are 5 types of name completion and the completion method is chosen automatically depending on the context:
$PATH
is searched
~
(~username
= user's home directory)
$
signFilename completion tries to recognize certain shell metacharacters and completes filenames in these situations:
command < /some/file
- also the >
and >>
redirectionscommand ; /other/command
command & /other/command
command || /other/command
- also &&
command | /other/command
`command`
arg=/some/file
--option=/some/file
host:/some/file
or user@host:/some/file
arg
, option
, user
, or host
in these
examples must be a single word and the cursor must be positioned after
the :
or =
character
:
or =
, quote them or use the complete filename
function from the completion/insertion panel
Please note that completion may fail to complete names properly inside some command line constructs (e.g. loops).
If there is no completion possibility, a warning is displayed. If there is exactly one completion possibility, CLEX completes the name, otherwise a list of completion candidates appears on the screen.