mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-07-30 11:38:41 -07:00
22 lines
432 B
Bash
22 lines
432 B
Bash
# vipw(8) and vigr completion -*- shell-script -*-
|
|
|
|
_vipw()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
case $prev in
|
|
-h|--help)
|
|
return
|
|
;;
|
|
-R|--root)
|
|
_filedir -d
|
|
return
|
|
;;
|
|
esac
|
|
|
|
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
|
|
} &&
|
|
complete -F _vipw vipw vigr
|
|
|
|
# ex: filetype=sh
|