Inhalt - bash - Bash-Completion
Bash-Completion
Datum:
28. Dezember 2025 03:18
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.
Haftungsausschluss: Die Informationen auf dieser Website wurden mit grösster Sorgfalt erstellt. Dennoch übernehme ich keine Haftung für die Richtigkeit, Vollständigkeit oder Aktualität der Inhalte. Änderungen und Irrtümer sind vorbehalten.
Java HotSpot™ Client VM 1.8.0_401 / © Thomas Gürber