* PATCH: correct quoting in Completion/Linux/Command/_ss
@ 2018-04-10 0:08 pda
2018-04-10 3:27 ` Eric Cook
0 siblings, 1 reply; 2+ messages in thread
From: pda @ 2018-04-10 0:08 UTC (permalink / raw)
To: zsh-workers
My ss on Debian stretch doesn't a --vsock flag, so this merely
fixes shell syntax for me. Someone able to test this better
could have improvements.
Might it not be a bad idea to run scripts through zsh -n
at install-time, or do some other kind of sanity-check?
diff --git a/Completion/Linux/Command/_ss b/Completion/Linux/Command/_ss
index afe00b6a3..8b668e1bd 100644
--- a/Completion/Linux/Command/_ss
+++ b/Completion/Linux/Command/_ss
@@ -33,7 +33,7 @@ _arguments -C -s \
"($info -d --dccp)"{-d,--dccp}'[display DCCP sockets]' \
"($info -w --raw)"{-w,--raw}'[display RAW sockets]' \
"($info -x --unix)"{-x,--unix}'[display Unix domain sockets]' \
- "($info)--vsock[display only vsock sockets]' \
+ "($info) --vsock[display only vsock sockets]" \
"($info -f --family)"{-f,--family}'[display sockets of specified type]:family:(unix inet inet6 link netlink unix vsock)' \
"($info -K --kill)"{-K,--kill}'[forcibly close sockets, display what was closed]' \
"($info -H --no-header)"{-H,--no-header}'[suppress header line]' \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: correct quoting in Completion/Linux/Command/_ss
2018-04-10 0:08 PATCH: correct quoting in Completion/Linux/Command/_ss pda
@ 2018-04-10 3:27 ` Eric Cook
0 siblings, 0 replies; 2+ messages in thread
From: Eric Cook @ 2018-04-10 3:27 UTC (permalink / raw)
To: zsh-workers
On 04/09/2018 08:08 PM, pda@freeshell.net wrote:
> - "($info)--vsock[display only vsock sockets]' \
> + "($info) --vsock[display only vsock sockets]" \
With a tweak removing the erroneous space, this as been committed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-10 9:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-10 0:08 PATCH: correct quoting in Completion/Linux/Command/_ss pda
2018-04-10 3:27 ` Eric Cook
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).