mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +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
|
|
@ -54,7 +54,7 @@ case "$state" in
|
|||
;;
|
||||
files)
|
||||
if [[ -n $opt_args[--reference] ]]; then
|
||||
zmodload -F zsh/stat zstat 2>/dev/null
|
||||
zmodload -F zsh/stat b:zstat 2>/dev/null
|
||||
typeset -i8 ref=$(zstat +mode $opt_args[--reference])
|
||||
_wanted files expl file _files -g "*(-.^f${ref#??})" && ret=0
|
||||
elif [[ $words[2] = [0-7]## ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue