mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01:00
25131: typo with b:zstat loading zstat
This commit is contained in:
parent
e6027db326
commit
a46bb7f49d
6 changed files with 13 additions and 5 deletions
|
|
@ -50,7 +50,7 @@ case $state in
|
|||
files)
|
||||
(( $+opt_args[-h] || $+opt_args[--no-dereference] )) || deref="-"
|
||||
if (( $+opt_args[--reference] )); then
|
||||
zmodload -F zsh/stat zstat 2>/dev/null
|
||||
zmodload -F zsh/stat b:zstat 2>/dev/null
|
||||
usr=$(zstat +uid $opt_args[--reference])
|
||||
grp=$(zstat +gid $opt_args[--reference])
|
||||
_wanted files expl file _files -g "*($deref^u$usr,$deref^g$grp)" && ret=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue