1
0
mirror of https://github.com/jbranchaud/til synced 2026-07-02 23:58:25 +00:00

Add a couple more examples to most recent TIL

This commit is contained in:
jbranchaud
2026-03-29 01:22:39 -05:00
parent 1a4589f8f7
commit 119cc15c9a
@@ -8,8 +8,7 @@ however, I learned about a couple more reading through [Shell Tricks That
Actually Make Life Easier (And Save Your Actually Make Life Easier (And Save Your
Sanity)](https://blog.hofstede.it/shell-tricks-that-actually-make-life-easier-and-save-your-sanity/). Sanity)](https://blog.hofstede.it/shell-tricks-that-actually-make-life-easier-and-save-your-sanity/).
These are [Readline These are [Readline commands](https://www.gnu.org/software/bash/manual/html_node/Bindable-Readline-Commands.html)
commands](https://www.gnu.org/software/bash/manual/html_node/Bindable-Readline-Commands.html)
(or keybindings) which means they are supported by anything that uses Readline (or keybindings) which means they are supported by anything that uses Readline
under the hood. So while you might be using these to great effect in `bash` and under the hood. So while you might be using these to great effect in `bash` and
`zsh`, you should look for other places they are available. `zsh`, you should look for other places they are available.
@@ -17,11 +16,15 @@ under the hood. So while you might be using these to great effect in `bash` and
A non-exhaustive list includes: A non-exhaustive list includes:
- Ruby's `irb` - Ruby's `irb`
- `python` - Python's `python`
- Node.js' `node` - Node.js' `node`
- PostgreSQL's `psql` - PostgreSQL's `psql`
- Claude Code
And many more similar REPLs and command line tools. And many more similar REPLs and command line tools.
Try these keybindings out in one of your favorites and when you're done hit Try these keybindings out in one of your favorites and when you're done hit
`ctrl-c` to exit out of it. `ctrl-c` to exit out of it.
PS. subsets of these keybindings are sometimes supported in unexpected places
like the Chrome URL bar.