- user completion for w(1)
This commit is contained in:
parent
2c18d244cf
commit
80a76143b3
@ -1,6 +1,6 @@
|
|||||||
# bash_completion - some programmable completion functions for bash 2.05b
|
# bash_completion - some programmable completion functions for bash 2.05b
|
||||||
#
|
#
|
||||||
# $Id: bash_completion,v 1.654 2003/11/15 08:59:13 ianmacd Exp $
|
# $Id: bash_completion,v 1.655 2003/11/19 19:11:25 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -113,7 +113,7 @@ complete -f -X '!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))' netscape mozilla lynx ope
|
|||||||
# start of section containing compspecs that can be handled within bash
|
# start of section containing compspecs that can be handled within bash
|
||||||
|
|
||||||
# user commands see only users
|
# user commands see only users
|
||||||
complete -u su usermod userdel passwd chage write chfn groups slay
|
complete -u su usermod userdel passwd chage write chfn groups slay w
|
||||||
|
|
||||||
# group commands see only groups
|
# group commands see only groups
|
||||||
[ -n "$bash205" ] && complete -g groupmod groupdel newgrp 2>/dev/null
|
[ -n "$bash205" ] && complete -g groupmod groupdel newgrp 2>/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user