הצטרף ל-Nostr
2025-07-29 22:11:17 UTC

jb55 on Nostr: after like 20 years of using bash i had no idea you could do this: $ bind -q ...

after like 20 years of using bash i had no idea you could do this:

$ bind -q glob-expand-word

will show you the bindings for expanding globs in your terminal

when your cursor is at the end of a glob

$ *.txt<---

press <Ctrl-x-*>, or <Esc-*> in vi mode

The prompt will expand to

$ alice.txt bob.txt

just used this because I wanted to expand the blob for a command but not use all the arguments. awesome.