Numeric Arguments
Bindable Readline Commands
Keyboard Macros
complete (TAB)
|
Attempt to do completion on the text before the cursor. This is
application-specific. Generally, if you are typing a filename
argument, you can do filename completion; if you are typing a command,
you can do command completion; if you are typing in a symbol to GDB, you
can do symbol name completion; if you are typing in a variable to Bash,
you can do variable name completion, and so on.
Bash attempts completion treating the text as a variable (if the
text begins with ` |
possible-completions (M-?)
|
List the possible completions of the text before the cursor. |
insert-completions (M-*)
|
Insert all completions of the text before point that would have
been generated by |
menu-complete ()
|
Similar to |
delete-char-or-list ()
|
Deletes the character under the cursor if not at the beginning or
end of the line (like |
complete-filename (M-/)
|
Attempt filename completion on the text before point. |
possible-filename-completions (C-x /)
|
List the possible completions of the text before point, treating it as a filename. |
complete-username (M-~)
|
Attempt completion on the text before point, treating it as a username. |
possible-username-completions (C-x ~)
|
List the possible completions of the text before point, treating it as a username. |
complete-variable (M-$)
|
Attempt completion on the text before point, treating it as a shell variable. |
possible-variable-completions (C-x $)
|
List the possible completions of the text before point, treating it as a shell variable. |
complete-hostname (M-@)
|
Attempt completion on the text before point, treating it as a hostname. |
possible-hostname-completions (C-x @)
|
List the possible completions of the text before point, treating it as a hostname. |
complete-command (M-!)
|
Attempt completion on the text before point, treating it as a command name. Command completion attempts to match the text against aliases, reserved words, shell functions, shell builtins, and finally executable filenames, in that order. |
possible-command-completions (C-x !)
|
List the possible completions of the text before point, treating it as a command name. |
dynamic-complete-history (M-TAB)
|
Attempt completion on the text before point, comparing the text against lines from the history list for possible completion matches. |
complete-into-braces (M-{)
|
Perform filename completion and return the list of possible completions enclosed within braces so the list is available to the shell (see Brace Expansion). |