Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compctl help needed for IRC channel names
- X-seq: zsh-users 22959
- From: Aleksandr Miroslav <alexmiroslav@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: compctl help needed for IRC channel names
- Date: Tue, 7 Nov 2017 13:13:22 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FRxHMxKdaGQ0usFNaHx6ZVEk40uVRvA3ToJlzOE5aBA=; b=qwWg2vWQPuvU9s783O8M6IT3F+EyQPXtlu//USndQTJZxp9aQxZdj0Ptt7/vJDg2Gp orJ1ys/DF0pMsWALzJ3WjdUS7+1gXOci9alhKl2u9jDKZIOtCFqUV7I8H5E5lbjoIrnO 40pNvmM9FxiXnKUOzIB/sUQ/4YjQzmv78+b/XISsmtEp/kmNsZ/ONcRi6b7H5Tdyh+xK H7kWWqcA2JJVyqYIR1Xv2ZXxky3QuHi8/dsMrBXZmP3VfNMdJik/hFC4ObLal4AwRXCf ROZxFnAWvGTLd4BJaFtvpFv2XO6D0uZU7loRrahNQ3WsMINM+oooRS4CNhhGOTDf+tP4 VdDg==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
My IRC bouncer (ZNC), writes out IRC logs into directories that look like
this:
/path/network1/#channel1
/path/network1/##channel2
/path/network1/user1
/path/network2/#channel3
/path/network2/##channel4
/path/network2/user2
I would like compctl to autocomplete for me with these options:
channel1 channel2 user1 channel3 channel4 user2
But, when I choose channel1 or whatever, it should return the full real
path (/path/network1/#channel1)
How can I do this?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author