Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to write completion function for arguments like unix:/path/to/socket
- X-seq: zsh-users 29597
- From: Celeste Liu <coelacanthushex@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: How to write completion function for arguments like unix:/path/to/socket
- Date: Sun, 28 Jan 2024 20:25:35 +0800
- Archived-at: <https://zsh.org/users/29597>
- List-id: <zsh-users.zsh.org>
Hi,
Recently I write zsh completion file for a serial port tool named tio. It has
a feature to redirect I/O to a socket, so there is a argument --socket which
accepts something like unix:/path/to/socket or inet:1234. But I don't know how
to write this function. Could someone help me? Thanks.
Best regards
Celeste Liu
Attachment:
OpenPGP_0x15F4180E73787863.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author