mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
23519: Use tag remote-files for remote files
This commit is contained in:
parent
3964c63d02
commit
d4022e76c1
3 changed files with 16 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-06-29 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* users/23519: README, Completion/Unix/Type/_remote_files: Use tag
|
||||
remote-files instead of files for remote files.
|
||||
|
||||
2018-06-27 Daniel Hahler <zsh@thequod.de>
|
||||
|
||||
* 42746: Completion/Unix/Command/_vim: _vim: handle special values for
|
||||
|
|
|
@ -75,9 +75,9 @@ if zstyle -T ":completion:${curcontext}:files" remote-access; then
|
|||
remdispf=( ${(M)remdispf:#${~glob[2]}} )
|
||||
fi
|
||||
|
||||
_tags files
|
||||
_tags remote-files
|
||||
while _tags; do
|
||||
while _next_label files expl ${suf:-remote directory}; do
|
||||
while _next_label remote-files expl ${suf:-remote directory}; do
|
||||
[[ -n $suf ]] &&
|
||||
compadd "$args[@]" "$expl[@]" -d remdispf -- ${(q)remdispf%[*=|]} && ret=0
|
||||
compadd ${suf:+-S/} -r "/ \t\n\-" "$args[@]" "$expl[@]" -d remdispd \
|
||||
|
|
10
README
10
README
|
@ -32,9 +32,17 @@ Zsh is a shell with lots of features. For a list of some of these, see the
|
|||
file FEATURES, and for the latest changes see NEWS. For more
|
||||
details, see the documentation.
|
||||
|
||||
Incompatibilities since 5.4.2
|
||||
Incompatibilities since 5.5.1
|
||||
-----------------------------
|
||||
|
||||
The completion helper _remote_files, typically used after a hostname
|
||||
with scp-style completion, now uses remote-files instead of files as a
|
||||
tag. This makes it easier to restrict completions with the tag-order
|
||||
style.
|
||||
|
||||
Incompatibilities between 5.4.2 and 5.5.1
|
||||
-----------------------------------------
|
||||
|
||||
1) The default build-time maximum nested function depth has been
|
||||
decreased from 1000 to 500 based on user experience. However,
|
||||
it can now be changed at run time via the variable FUNCNEST.
|
||||
|
|
Loading…
Reference in a new issue