zsh-workers
 help / color / mirror / code / Atom feed
feea8b49a4bd86cb97ff47cf42cad5b9910b7a62 blob 347 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#autoload

local distro codenames ret=1

for distro in /usr/share/distro-info/*.csv(N); do
  # TODO: magic number "6"
  codenames=( ${(f)"$(<$distro tail -n6 | cut -d, -f3,1)"} )
  codenames=( ${codenames/(#b)(*),(*)/${match[2]}:${match[1]}} )
  _describe -V -t codename-${distro:t:r} "${distro:t:r} codenames" codenames && ret=0
done

return ret
debug log:

solving feea8b49a ...
found feea8b49a in https://git.vuxu.org/mirror/zsh/

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).