mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 08:02:16 +08:00
Merge 9852150123
into 6e564503f1
This commit is contained in:
commit
ffb0a28728
@ -142,14 +142,13 @@ zstyle -e ':completion:*:hosts' hosts 'reply=(
|
|||||||
)'
|
)'
|
||||||
|
|
||||||
# Don't complete uninteresting users...
|
# Don't complete uninteresting users...
|
||||||
zstyle ':completion:*:*:*:users' ignored-patterns \
|
zstyle ':completion:*:*:*:users' ignored-patterns nobody nobody4 noaccess '_*' \
|
||||||
adm amanda apache avahi beaglidx bin cacti canna clamav daemon \
|
$([[ "$OSTYPE" = SunOS ]] && uid_min=100 || uid_min=500
|
||||||
dbus distcache dovecot fax ftp games gdm gkrellmd gopher \
|
IFS=:
|
||||||
hacluster haldaemon halt hsqldb ident junkbust ldap lp mail \
|
while read -r user pass uid remainder; do
|
||||||
mailman mailnull mldonkey mysql nagios \
|
[[ "$user" != (\#*|root) ]] && ((uid < uid_min)) && echo $user
|
||||||
named netdump news nfsnobody nobody nscd ntp nut nx openvpn \
|
done </etc/passwd
|
||||||
operator pcap postfix postgres privoxy pulse pvm quagga radvd \
|
)
|
||||||
rpc rpcuser rpm shutdown squid sshd sync uucp vcsa xfs '_*'
|
|
||||||
|
|
||||||
# ... unless we really want to.
|
# ... unless we really want to.
|
||||||
zstyle '*' single-ignored show
|
zstyle '*' single-ignored show
|
||||||
|
Loading…
Reference in New Issue
Block a user