diff options
| author | Daniel Peukert <daniel@peukert.cc> | 2022-11-08 19:48:08 +0100 |
|---|---|---|
| committer | Daniel Peukert <daniel@peukert.cc> | 2022-11-08 19:48:08 +0100 |
| commit | 3383356263e19fcd2ee3b21cc57cc9c15b385c6e (patch) | |
| tree | 1f51038bde0a82b9a577432d38e6a80117959e5a /bash-completion | |
| parent | d9edc382f56791e301c2d2b193c1067c717ae8e8 (diff) | |
| download | util-linux-3383356263e19fcd2ee3b21cc57cc9c15b385c6e.tar.gz | |
rfkill: add toggle to bash completion
Signed-off-by: Daniel Peukert <daniel@peukert.cc>
Diffstat (limited to 'bash-completion')
| -rw-r--r-- | bash-completion/rfkill | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bash-completion/rfkill b/bash-completion/rfkill index 4643666e29..fbaafd2d7b 100644 --- a/bash-completion/rfkill +++ b/bash-completion/rfkill @@ -5,7 +5,7 @@ _rfkill_module() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in - 'list'|'block'|'unblock') + 'list'|'block'|'unblock'|'toggle') local targets targets="$(rfkill --output=id,type --noheadings list)" COMPREPLY=( $(compgen -W "all $targets" -- $cur) ) @@ -33,6 +33,7 @@ _rfkill_module() list block unblock + toggle --json --noheadings --output |
