Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _ip: add -j[son] and -p[retty] flags
- X-seq: zsh-workers 54216
- From: Ryan Rotter <rrotter@xxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _ip: add -j[son] and -p[retty] flags
- Date: Tue, 10 Mar 2026 23:17:43 -0400
- Archived-at: <https://zsh.org/workers/54216>
- List-id: <zsh-workers.zsh.org>
diff --git a/Completion/Unix/Command/_ip b/Completion/Unix/Command/_ip
index 9a7cbd821..f4eb913b9 100644
--- a/Completion/Unix/Command/_ip
+++ b/Completion/Unix/Command/_ip
@@ -553,6 +553,8 @@ _regex_words options "ip options" \
'-M:family MPLS' \
'-0:link protocol, no networking' \
'-o*neline:output one record per line' \
+ '-j*son:output results in JSON' \
+ '-p*retty:pretty print JSON' \
'-t*imestamp:display current time when using monitor option' \
'-ts*hort:display current time in shorter format when using monitor option' \
'-r*esolve:use system resolver for DNS names'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author