Zsh option parsing examples (gist) Permalink
Everything I know about zparseopts I learned from this gist.
Everything I know about zparseopts I learned from this gist.
a (hastily hacked together) zsh function to list key bindings
After a couple years of using zsh and yet another thorough review of key bindings, some observations and recommendations.
I now realize writing for myself is the best way for me to share more with others, and that’s what I intend to do. Typos be damned.
The zsh ‘describe-key-briefly’ widget shows the binding of any key.
Hack together an alias to output a compact list of zsh keybindings in the shell.
TLDR: man col | col -b
Tab completion provides builtin cheatsheets for psql settings.
Surely, there’s an easier way.
Step by step: How to install the pagila database in a local postgres cluster.
Redirecting output is a very easy way to copy psql query output.
How to execute dynamic SQL in a PostgreSQL procedure, demonstrated with psql queries and meta-commands.