fish-shell/share/completions/rfkill.fish

10 lines
718 B
Fish
Raw Normal View History

complete -c rfkill -xa 'block unblock list event help' -n 'not __fish_seen_subcommand_from block unblock list event help'
complete -c rfkill -n '__fish_seen_subcommand_from block unblock list' -d 'device group' -xa "all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm (rfkill list | tr : \t)"
2020-02-28 21:24:12 +08:00
complete -c rfkill -s V -l version -d 'Print version'
complete -c rfkill -s h -l help -d 'Print help'
complete -c rfkill -s J -l json -d 'JSON output'
complete -c rfkill -s r -l raw -d 'Raw output'
complete -c rfkill -s n -l noheadings -d "Don't print headings"
complete -c rfkill -s o -l output -d "Columns to output" -xa "DEVICE ID TYPE TYPE-DESC SOFT HARD"
complete -c rfkill -l output-all -d "Output all columns"