summaryrefslogtreecommitdiffstats
path: root/shell-completion (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cryptenroll: support for enrolling FIDO2 tokens in manual modeKamil Szczęk2024-06-201-2/+4
| | | | | | | | | | | | | | systemd-cryptsetup supports a FIDO2 mode with manual parameters, where the user provides all the information necessary for recreating the secret, such as: credential ID, relaying party ID and the salt. This feature works great for implementing 2FA schemes, where the salt file is for example a secret unsealed from the TPM or some other source. While the unlocking part is quite straightforward to set up, enrolling such a keyslot - not so easy. There is no clearly documented way on how to set this up and online resources are scarce on this topic too. By implementing a straightforward way to enroll such a keyslot directly from systemd-cryptenroll we streamline the enrollment process and reduce chances for user error when doing such things manually.
* bootctl: add --random-seed=yes/noLudwig Nussel2024-06-202-1/+5
|
* shell-completion: only offer devices for completionDavid Tardon2024-06-121-4/+1
| | | | | This skips directories and other stuff like /dev/core, /dev/initctl or /dev/log.
* shell-completion: update bash completion for networkctlYu Watanabe2024-06-111-3/+24
|
* shell-completion: update bash-completion for udevadmYu Watanabe2024-06-111-12/+31
| | | | | | | - Add missing options. - Show device nodes when supported. Closes #33265.
* shell-completion: add systemd-vmspawn to meson.buildArthur Zamarin2024-05-181-0/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completion: add missing args to bash systemd-nspawnArthur Zamarin2024-05-181-3/+3
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completion: add missing args to bash systemd-runArthur Zamarin2024-05-181-13/+15
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completion: on zsh, systemd-cat is a precommandhydrargyrum2024-05-091-2/+2
| | | | | _precommand lets zsh complete other commands and their arguments e.g. it can complete grep with "systemd-cat gr" and complete grep options with "systemd-cat grep -"
* shell-completion: add bash completion for systemd-vmspawnArthur Zamarin2024-05-011-0/+70
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completion: add missing args to zsh resolvectlArthur Zamarin2024-05-011-0/+12
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completion: add missing args to bash resolvectlArthur Zamarin2024-05-011-8/+8
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completion: add missing args to bash systemd-analyzeArthur Zamarin2024-05-011-3/+11
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completion: add bash-completion for systemd-vpick commandArthur Zamarin2024-04-262-0/+61
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completion: add bash-completion for run0 commandArthur Zamarin2024-04-262-0/+114
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell-completions: install new completions which were forgottenArthur Zamarin2024-04-261-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell completion: fix machinectl import-{tar,raw}Arthur Zamarin2024-04-261-2/+6
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* shell completion: add bash completion for importctlArthur Zamarin2024-04-261-0/+125
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Merge pull request #32144 from bluca/portable_cleanLuca Boccassi2024-04-181-1/+2
|\ | | | | portablectl: add --clean parameter for detaching
| * bash completion: add missing parameters for portablectlLuca Boccassi2024-04-181-1/+1
| |
| * portablectl: add --clean parameter for detachingLuca Boccassi2024-04-181-1/+2
| | | | | | | | | | Calls CleanUnit on each portable service being removed, after it has stopped
* | systemctl: add --clean= values to documentation and shell completionLuca Boccassi2024-04-181-1/+1
|/
* improve zsh completion (#32098)Eisuke Kawashima2024-04-1523-217/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix error * remove options that are no longer supported * add missing options * stop completion if an option `--help` or `--version` is supplied [[[ zjs: a note for the reader: zshcompsys(1) in the section about optspecs in _arguments says: > Each of the forms above may be preceded by a list in parentheses of option names and argument num‐ > bers. If the given option is on the command line, the options and arguments indicated in parentheses > will not be offered. For example, ‘(-two -three 1)-one:...' completes the option ‘-one'; if this ap‐ > pears on the command line, the options -two and -three and the first ordinary argument will not be > completed after it. ‘(-foo):...' specifies an ordinary argument completion; -foo will not be com‐ > pleted if that argument is already present. > > Other items may appear in the list of excluded options to indicate various other items that should > not be applied when the current specification is matched: a single star (\*) for the rest arguments > (i.e. a specification of the form ‘\*:...'); a colon (:) for all normal (non-option-) arguments; and a > hyphen (-) for all options. For example, if ‘(\*)' appears before an option and the option appears on > the command line, the list of remaining arguments (those shown in the above table beginning with > ‘\*:') will not be completed. The intended effect of the change is to remove irrelevant completion matches from the completion. tl;dr: (- : ) prevents further completion ]]]
* Update _udevadmsamuelvw012024-03-161-1/+1
|
* shell completion: add --copy=mixed in portablectlLuca Boccassi2024-03-151-1/+1
| | | | Follow-up for 82047a6aa7230031d2a579e81d5f8871c23e0616
* shell-completion: add systemd-cat --namespace=Mike Yuan2024-03-142-1/+5
| | | | | | Follow-up for 45bcab66a9c23a74107118d310e09a46f28494fd Addresses https://github.com/systemd/systemd/pull/31754#discussion_r1524715062
* user-record: Add preferredSession{Type,Launcher}Adrian Vovk2024-03-011-1/+9
| | | | | | | These will be used by display managers to pre-select the user's preferred desktop environment and display server type. On homed, the display manager will also be able to set these fields to cache the user's last selection.
* Merge pull request #31511 from jamacku/prepare-for-diff-shellcheckZbigniew Jędrzejewski-Szmek2024-02-2832-0/+32
|\ | | | | Prepare for new version of Differential ShellCheck & scanning of shell completion scripts
| * fix(SC2148): add ShellCheck directive to bash completion scriptsJan Macku2024-02-2732-0/+32
| |
* | man, shell-completion: fix a few typos/language issuesŠtěpán Němec2024-02-271-1/+1
|/
* zsh/_journalctl: complete -g, --case-sensitive, 'help' (pseudo-)facilityŠtěpán Němec2024-02-271-1/+3
|
* homectl: Add flags to edit blob directoriesAdrian Vovk2024-02-191-3/+6
| | | | | | | | | | | | | | | | | | | This makes it possible to edit blob directories using homectl. The following syntax is available: * `--blob-directory=/path/somewhere`: Replaces the entire blob directory with the contents of /path/somewhere * `--blob-directory=foobar=/path/somewhere`: Replaces just the file foobar in the blob directory with the contents of /path/somewhere * `--blob-directory=foobar=`: Deletes the file foobar from the blob directory * `--blob-directory=`: Resets all previous flags * `--avatar=`, etc: Shortcuts for `--blob-directory=FILENAME=` for the known files in the blob directory
* user-record: Add languages fieldAdrian Vovk2024-02-131-0/+3
| | | | | | | | | | | | | | | | This field is like preferredLanguage, but takes a priority list of languages instead. If an app isn't translated into a user's primary language, it can fall back to one of the other languages in the list thus making the app more accessible to the user. For instance: in my experience, many Ukrainians are fluent in Russian, often significantly better than English (especially if they are of a generation that grew up during the USSR). Such a person might set this new variable to ["uk_UA.UTF-8", "ru_UA.UTF-8"] so that software that lacks Ukrainian translations will first try Russian translations before defaulting to English. Fixes #31290
* cryptenroll: Add support for unlocking through TPM2 enrollmentsGabríel Arthúr Pétursson2024-02-011-0/+4
|
* nspawn: optionally tint the background color of a containerLennart Poettering2024-01-231-1/+1
|
* Merge pull request #31019 from poettering/hostnamed-full-os-releaseLennart Poettering2024-01-231-1/+1
|\ | | | | hostnamed: expose full /etc/os-release data in hostnamectl's --json= output
| * hostnamectl: add -j switch for quick json outputLennart Poettering2024-01-221-1/+1
| | | | | | | | | | | | | | We already support -j as shortcut for JSON mode in various tools. Let's add one more. We probably should add this systematically (at least where it doesn't conflict with an existing -j switch with other purpose). But I am too lazy to add that now.
* | shell-completion/zsh: complete hidden images when word starts with "."Ivan Shapovalov2024-01-231-1/+6
| | | | | | | | | | | | | | Show hidden images in the completion results, but only if the current word starts with ".", such that - `machinectl clone <Tab>` will only offer non-hidden images, but - `machinectl clone .<Tab>` will offer both hidden and non-hidden images
* | shell-completion/zsh: improve and expand machinectl completionIvan Shapovalov2024-01-231-22/+101
|/
* bash-completion: add missing options to systemd-dissectAntonio Alvarez Feijoo2024-01-191-1/+3
|
* bash-completion: add missing options to systemd-cryptenrollAntonio Alvarez Feijoo2024-01-191-3/+6
|
* loginctl: add --json= and -j, decouple list-* from --output=Mike Yuan2024-01-171-2/+5
| | | | | --output= is documented to only affect journal output in *-status. Let's use --json= and -j standard options for list-* instead.
* shell-completion: add new systemd-id128 optionsFrantisek Sumsal2024-01-111-2/+12
|
* analyze: fix -q optionAntonio Alvarez Feijoo2024-01-091-1/+1
| | | | Follow-up to 52117f5af831a816c47ceebb83c8244ee93b72fe
* shell-completion: provide completion for journalctl --namespace=Frantisek Sumsal2024-01-052-1/+13
| | | | Resolves: #30381
* shell-completion: fix mixed indentFrantisek Sumsal2024-01-051-1/+1
|
* journalctl: implement --list-namespacesFrantisek Sumsal2024-01-052-1/+3
| | | | | Apart from being useful on its own, this will be used in the following commit for shell completions.
* journalctl: add --exclude-identifier optionSergei Zhmylev2024-01-041-4/+4
|
* bash completion: add systemd-analyze architecturesLuca Boccassi2023-12-271-0/+12
| | | | Follow-up for fb8cc599ed863502d67
* bash completion: make systemctl mount-image/bind autocomplete on active servicesLuca Boccassi2023-12-271-1/+13
| | | | | | The verb works only on running service units, so complete on that as the first parameter, and a local file as the second. The other parameters are inside the service namespace so we can't autocomplete from the outside, return early.