mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02:00
zsh-workers/9827
This commit is contained in:
parent
6398d0e2bc
commit
76953c4d3f
5 changed files with 65 additions and 64 deletions
|
|
@ -9,7 +9,7 @@
|
|||
# stick with a single directory. This is the default.
|
||||
# (2) Use remote globbing, i.e. pass it to ls at the site.
|
||||
# Faster, but only works with UNIX, and only basic globbing.
|
||||
# We do this if the remote_glob style (or $zfrglob for
|
||||
# We do this if the remote-glob style (or $zfrglob for
|
||||
# backward compatibility) is set.
|
||||
|
||||
# There is only one argument, the variable containing the
|
||||
|
|
@ -21,7 +21,7 @@ setopt extendedglob
|
|||
|
||||
local pat dir nondir files i zfrglob
|
||||
|
||||
zstyle -t "$curcontext" remote_glob && zfrglob=1
|
||||
zstyle -t "$curcontext" remote-glob && zfrglob=1
|
||||
|
||||
eval pat=\$$1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue