From 571015bc32e6ff3ed648a6b351d05272329386bc Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 10 Sep 2011 17:09:50 +0000 Subject: 29760: fix references to _i_ulwdirs --- Completion/compaudit | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Completion') diff --git a/Completion/compaudit b/Completion/compaudit index df431afb1..72e0b62ba 100644 --- a/Completion/compaudit +++ b/Completion/compaudit @@ -102,7 +102,7 @@ _i_wdirs=( ${^fpath}(N-f:g+w:,-f:o+w:,-^u0u${EUID}) # that this has not happened, and pick the best group. if (( $#_i_wdirs )); then - local GROUP GROUPMEM _i_pw _i_gid _i_ulwdirs + local GROUP GROUPMEM _i_pw _i_gid if ((UID == EUID )); then getent group $LOGNAME | IFS=: read GROUP _i_pw _i_gid GROUPMEM else @@ -117,8 +117,9 @@ fi if [[ -f /etc/debian_version ]] then -_i_ulwdirs=( ${(M)_i_wdirs:#/usr/local/*} ) -_i_wdirs=( ${_i_wdirs:#/usr/local/*} ${^_i_ulwdir}(Nf:g+ws:^g:staff:,f:o+w:,^u0) ) + local _i_ulwdirs + _i_ulwdirs=( ${(M)_i_wdirs:#/usr/local/*} ) + _i_wdirs=( ${_i_wdirs:#/usr/local/*} ${^_i_ulwdirs}(Nf:g+ws:^g:staff:,f:o+w:,^u0) ) fi _i_wdirs=( $_i_wdirs ${^fpath}.zwc^([^_]*|*~)(N-^u0u${EUID}) ) -- cgit 1.4.1