When last we checked, our
intrepid lazy typer was trying to write a completion rule for
[kibo][kibo] to reduce his keystrokes a microscopic ammount.
The working ‘kibo’ completion script:
I use irssi on a cloud server for my IRC needs. Along with it I’ve written some utility scripts - the most useful is kibo to find all messages sent to myself by searching the irssi logs. Since my home dir is a bit longer lived my scripts keep getting little tweaks and improvements. One I’ve been doing lately is completions. I had hoped yesterday to show a more complicated zsh completion example but so far haven’t gotten it to work.
This is why I avoid zfs - at least on Linux. Lots of people say I’m paranoid; that the issue has been decided, but it clearly hasn’t. I get that it has a lot of benefits. I’m currently working on a FreeBSD based project where zfs will be really beneficial. And I’ve used it before on Solaris. And the alternatives on Linux (btrfs primarily) still seem too unstable for my liking.
This is just a simple thing, but it makes working in Go’s source tree way easier. Particularly since I use repos from three different sites that start with “git.” In zsh there’s a thing called cdpath with zsh will use to complete a cd command. For the longest time mine was set to cdpath=(~ ~/src) so if I typed cd foo and there wasn’t a foo in the current directory zsh would go look in ~ and then in ~/src.