06 Apr 26
Watch someone backspace 40 characters instead of pressing CTRL W, and you’ll understand why this list exists.
Watch someone backspace 40 characters instead of pressing CTRL W, and you’ll understand why this list exists.
The “Works (Almost) Everywhere” Club
-
CTRL + W: delete the word before the cursor -
CTRL + U: cut everything from the cursor to the beginning of the line -
CTRL + Y: to paste (“yank”) contents into prompt -
CTRL + A: jump to beginning of line -
CTRL + E: jump to end of line -
ALT + B: move backward one word -
ALT + F: move forward one word
11 Sep 24
I use this for my self-defined ZSH functions, but It can be used for other things I guess too!
06 Apr 24
30 Mar 23
“execline is a (non-interactive) scripting language, like sh - but its syntax is quite different from a traditional shell syntax.”
How do people feel about this compared to rc from Plan 9?
08 Nov 22
24 Jun 22
11 Jan 22
Process substitution is a great little feature and it feels very Unixy, but it took a surprisingly long time to appear in Unix and in shells. This is because it needed a crucial innovation, namely names in the filesystem for file descriptors, names that you can open() to be connected to the file descriptor.