completions: added userdel from shadow-utils

This commit is contained in:
exploide 2023-10-16 18:39:54 +02:00 committed by Fabian Boehm
parent 631f2c073c
commit 5d0efbf2e8

View file

@ -0,0 +1,8 @@
complete -c userdel -xa "(__fish_complete_users)"
complete -c userdel -s f -l force -d "force the removal"
complete -c userdel -s h -l help -d "display help message"
complete -c userdel -s r -l remove -d "remove user's home and mail directories"
complete -c userdel -s R -l root -xa "(__fish_complete_directories)" -d "apply changes in a chroot directory"
complete -c userdel -s P -l prefix -xa "(__fish_complete_directories)" -d "apply changes in a prefix directory"
complete -c userdel -s Z -l selinux-user -d "remove SELinux user mappings"