Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

compctl help needed for IRC channel names



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