

1·
8 months agoReally? Zsh expands short parameters to long? My search comes up dry. This is apparently the most comprehensive treatment on the topic:
https://thevaluable.dev/zsh-expansion-guide-example/
I don’t see mention of tool options expanding… just other parameters like variables.
The tldr app is in Debian official repos so I installed it with apt tools. From there, it failed me:
$ tldr wg Downloading tldr pages to ~/.local/share/tldr tldr: HttpExceptionRequest Request { host = "tldr.sh" port = 443 secure = True requestHeaders = [] path = "/assets/tldr.zip" queryString = "" method = "GET" proxy = Nothing rawBody = False redirectCount = 10 responseTimeout = ResponseTimeoutDefault requestVersion = HTTP/1.1 proxySecureMode = ProxySecureWithConnect } (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just "tldr.sh", service name: Just "443"): does not exist (Temporary failure in name resolution))Looks like it needs cloud access. My gear only works on Tor, so then I tried it this way:
$ torsocks tldr wg No tldr entry for wg $ torsocks tldr wget No tldr entry for wget $ torsocks tldr find No tldr entry for find $ torsocks tldr rsync No tldr entry for rsync $ torsocks tldr -u Downloading tldr pages to ~/.local/share/tldr tldr: Data.Binary.Get.runGet at position 4: Did not find end of central directory signature CallStack (from HasCallStack): error, called at libraries/binary/src/Data/Binary/Get.hs:351:5 in binary-0.8.8.0:Data.Binary.GetAlso checked for
kmdrbut that’s not in the official debian repos, which I try to stick to. I appreciate the tips though.