~/.bashrc geladen. /usr/share/bash-completion/bash_completion definiert.complete [-abcdefgjksuv] [-o comp-option] [-DEI] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] <commands...>complete -pr [-DEI] <commands...>| Command | Beschreibung |
|---|---|
help complete | Hilfe anzeigen |
complete -p | Alle Bash-Completions anzeigen |
complete -F <function> <commands...> | Apply a function that performs autocompletion to a command |
complete -W "Option1 Option2 Option3" <commands...> | fixe Werte vorschlagen |
complete -a <commands...> | Aliases (alias) für command vorschlagen |
complete -v <commands...> | (shell-)Variablenname für command vorschlagen |
complete -u <commands...> | Users für command vorschlagen |
complete -C <autocomplete_command> <commands...> | Apply a command that performs autocompletion to another command |
complete -c <commands...> | Commands für command vorschlagen |
complete -b builtin <commands...> | Built-Ins für command vorschlagen |
complete -A helptopic <commands...> | Helptopics wie 'complete' für command vorschlagen |
complete -A setopt <commands...> | Settings für command vorschlagen |
complete -A shopt <commands...> | Optionen für command vorschlagen |
complete -A stopped -P '"%' -S '"' <commands...> | Stopped jobs/processes für command vorschlagen |
complete -j -P '"%' -S '"' <commands...> | andere jobs für command vorschlagen |
| Command | Beschreibung |
|---|---|
-o nospace | Apply autocompletion without appending a space to the completed word. Tell Readline not to append a space (the default) to words completed at the end of the line. |
-o bashdefault | Perform the rest of the default Bash completions if the compspec generates no matches. |
-o default | Use Readline’s default filename completion if the compspec generates no matches. |
-o dirnames | Perform directory name completion if the compspec generates no matches. |
-o filenames | Tell Readline that the compspec generates filenames, so it can perform any filename-specific processing (like adding a slash to directory names, quoting special characters, or suppressing trailing spaces). This option is intended to be used with shell functions specified with -F. |
-o noquote | Tell Readline not to quote the completed words if they are filenames (quoting filenames is the default). |
-o nosort | Tell Readline not to sort the list of possible completions alphabetically. |
-o plusdirs | After any matches defined by the compspec are generated, directory name completion is attempted and any matches are added to the results of the other actions. |