mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-02 00:29:25 +00:00
Compare commits
3 Commits
pull/556-p
...
pull/562-i
Author | SHA1 | Date | |
---|---|---|---|
9852150123 | |||
a8c872671c | |||
0ff0ece5e2 |
@ -99,14 +99,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
|
||||||
|
@ -30,10 +30,6 @@ Perlbrew
|
|||||||
An alternative to the above is to use [Perlbrew][2], which allows for the
|
An alternative to the above is to use [Perlbrew][2], which allows for the
|
||||||
management of multiple, isolated Perl installations in the home directory.
|
management of multiple, isolated Perl installations in the home directory.
|
||||||
|
|
||||||
You can specify the perlbrew location so the environment is automatically loaded.
|
|
||||||
|
|
||||||
zstyle ':prezto:module:perl:perlbrew' location '/path/to/perlbrew'
|
|
||||||
|
|
||||||
Aliases
|
Aliases
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
@ -29,13 +29,6 @@ if [[ "$OSTYPE" == darwin* ]]; then
|
|||||||
|
|
||||||
unset perl_path
|
unset perl_path
|
||||||
unset cache_file
|
unset cache_file
|
||||||
|
|
||||||
# Perlbrew
|
|
||||||
zstyle -s ':prezto:module:perl:perlbrew' location '_perlbrew_root'
|
|
||||||
if [[ -s "${_perlbrew_root}/etc/bashrc" ]]; then
|
|
||||||
export PERLBREW_ROOT="${_perlbrew_root}"
|
|
||||||
source "${_perlbrew_root}/etc/bashrc"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user