zsh-workers
 help / color / mirror / code / Atom feed
de3e2b9d9562999c1ea1ecfaf67c402c9dc303be blob 539 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#autoload

# Complete files for which a suffix alias exists.

local expl pat

(( ${#saliases} )) || return 1

if (( ${#saliases} == 1 )); then
    pat="*.${(kq)saliases}"
else
    local -a tmpa
    # This is so we can quote the alias names against expansion
    # without quoting the `|' which needs to be active in the pattern
    # --- remember that an alias name can be pretty much anything.
    tmpa=(${(kq)saliases})
    pat="*.(${(kj.|.)tmpa})"
fi
pat+='(#q^/)'

# _wanted is called for us by _command_names
_path_files "$@" -g $pat
debug log:

solving de3e2b9d9 ...
found de3e2b9d9 in https://inbox.vuxu.org/zsh-workers/CAHLkEDsrBFhAFV6Csf4y_QqN_Kh_MXf9z9X=n5+4XYB5zowDaw@mail.gmail.com/ ||
	https://inbox.vuxu.org/zsh-workers/CAHLkEDtdcUO+Oox91c2VOgUTZHpzufcQeGWvR7JmBm=p3Z59CA@mail.gmail.com/
found 1c2c8ebb5 in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 1c2c8ebb5afbf420d5d1f4b488d939d37f92ed6c	Completion/Zsh/Type/_suffix_alias_files

applying [1/2] https://inbox.vuxu.org/zsh-workers/CAHLkEDsrBFhAFV6Csf4y_QqN_Kh_MXf9z9X=n5+4XYB5zowDaw@mail.gmail.com/
diff --git a/Completion/Zsh/Type/_suffix_alias_files b/Completion/Zsh/Type/_suffix_alias_files
index 1c2c8ebb5..de3e2b9d9 100644

Checking patch Completion/Zsh/Type/_suffix_alias_files...
Applied patch Completion/Zsh/Type/_suffix_alias_files cleanly.

skipping https://inbox.vuxu.org/zsh-workers/CAHLkEDtdcUO+Oox91c2VOgUTZHpzufcQeGWvR7JmBm=p3Z59CA@mail.gmail.com/ for de3e2b9d9
index at:
100644 de3e2b9d9562999c1ea1ecfaf67c402c9dc303be	Completion/Zsh/Type/_suffix_alias_files

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).