PATH:
usr
/
share
/
bash-completion
/
completions
# This file is part of systemd. # # Copyright 2011 Dan Walsh # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # systemd is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with systemd; If not, see <http://www.gnu.org/licenses/>. __contains_word () { local word=$1; shift for w in $*; do [[ $w = $word ]] && return 0; done return 1 } __get_all_booleans () { getsebool -a | cut -f1 -d' ' } _setsebool () { local command=${COMP_WORDS[1]} local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} local verb comps if [ "$verb" = "" -a "$prev" = "setsebool" -o "$prev" = "-P" ]; then COMPREPLY=( $(compgen -W "-P $( __get_all_booleans ) " -- "$cur") ) return 0 fi COMPREPLY=( $(compgen -W "0 1 -P" -- "$cur") ) return 0 } _getsebool () { local command=${COMP_WORDS[1]} local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} local verb comps if [ "$verb" = "" -a "$prev" == "getsebool" ]; then COMPREPLY=( $(compgen -W "-a $( __get_all_booleans ) " -- "$cur") ) return 0 fi if [ "$verb" = "" -a "$prev" != "-a" ]; then COMPREPLY=( $(compgen -W "$( __get_all_booleans ) " -- "$cur") ) return 0 fi return 0 } complete -F _setsebool setsebool complete -F _getsebool getsebool
[-] addpart
[edit]
[-] renice
[edit]
[-] readprofile
[edit]
[-] setterm
[edit]
[-] loginctl
[edit]
[-] systemd-cat
[edit]
[-] column
[edit]
[-] look
[edit]
[-] dracut
[edit]
[-] ipcs
[edit]
[-] systemd-analyze
[edit]
[-] hexdump
[edit]
[-] taskset
[edit]
[-] machinectl
[edit]
[-] su
[edit]
[-] ipcrm
[edit]
[-] gsettings
[edit]
[-] hostnamectl
[edit]
[-] colrm
[edit]
[-] setsebool
[edit]
[-] rtcwake
[edit]
[+]
..
[-] ldattach
[edit]
[-] ctrlaltdel
[edit]
[-] hwclock
[edit]
[-] colcrt
[edit]
[-] cal
[edit]
[-] lscpu
[edit]
[-] partx
[edit]
[-] fdformat
[edit]
[-] findmnt
[edit]
[-] namei
[edit]
[-] unshare
[edit]
[-] dmesg
[edit]
[-] chrt
[edit]
[-] mcookie
[edit]
[-] ul
[edit]
[-] grub
[edit]
[-] whereis
[edit]
[-] more
[edit]
[-] nmcli
[edit]
[-] wipefs
[edit]
[-] blockdev
[edit]
[-] fallocate
[edit]
[-] gapplication
[edit]
[-] systemd-delta
[edit]
[-] chcpu
[edit]
[-] firewall-cmd
[edit]
[-] tuned-adm
[edit]
[-] cfdisk
[edit]
[-] nsenter
[edit]
[-] fsck.minix
[edit]
[-] mkfs
[edit]
[-] semanage
[edit]
[-] setpriv
[edit]
[-] lslocks
[edit]
[-] raw
[edit]
[-] zramctl
[edit]
[-] yummain.py
[edit]
[-] fstrim
[edit]
[-] scriptreplay
[edit]
[-] chsh
[edit]
[-] blkid
[edit]
[-] swapon
[edit]
[-] resizepart
[edit]
[-] setarch
[edit]
[-] prlimit
[edit]
[-] losetup
[edit]
[-] chfn
[edit]
[-] pip3
[edit]
[-] col
[edit]
[-] mkfs.cramfs
[edit]
[-] flock
[edit]
[-] kernel-install
[edit]
[-] tailf
[edit]
[-] yum
[edit]
[-] write
[edit]
[-] blkdiscard
[edit]
[-] tc
[edit]
[-] getopt
[edit]
[-] busctl
[edit]
[-] systemctl
[edit]
[-] uuidgen
[edit]
[-] fsfreeze
[edit]
[-] rpm
[edit]
[-] runuser
[edit]
[-] fsck
[edit]
[-] systemd-run
[edit]
[-] isosize
[edit]
[-] udevadm
[edit]
[-] mkswap
[edit]
[-] fsck.cramfs
[edit]
[-] timedatectl
[edit]
[-] wdctl
[edit]
[-] ionice
[edit]
[-] systemd-nspawn
[edit]
[-] fdisk
[edit]
[-] journalctl
[edit]
[-] logger
[edit]
[-] gdbus
[edit]
[-] pip
[edit]
[-] systemd-cgls
[edit]
[-] kmod
[edit]
[-] setsid
[edit]
[-] mountpoint
[edit]
[-] utmpdump
[edit]
[-] pip2
[edit]
[-] systemd-detect-virt
[edit]
[-] pivot_root
[edit]
[-] bootctl
[edit]
[-] localectl
[edit]
[-] sfdisk
[edit]
[-] script
[edit]
[-] coredumpctl
[edit]
[-] systemd-cgtop
[edit]
[-] rev
[edit]
[-] lsinitrd
[edit]
[-] swaplabel
[edit]
[-] gresource
[edit]
[-] mkfs.minix
[edit]
[-] pip2.7
[edit]
[-] eject
[edit]
[-] delpart
[edit]
[-] lsblk
[edit]
[-] pip3.6
[edit]
[-] rename
[edit]