News for hackers. Stuff that matters.
Re:I Use My Terminal by knlb on Monday June 23, 2025 @08:05PM (#44361502)
My similar trick is to rely on the tmux scrollback and pipe tokenized output into zsh so I can easily autocomplete against anything on the visible tmux screen

https://www.threads.com/@kunalb_/post/C6ZQIOVpwMd https://gist.github.com/kunalb/abfe5757e89ffba1cf3959c9543d9...

which has been really useful.

Re:I Use My Terminal by tra3 on Tuesday June 24, 2025 @01:21AM (#44363055)
Fantastic. Thanks for sharing!
Re:I Use My Terminal by dustypotato on Tuesday June 24, 2025 @09:36AM (#44366119)
love it!
Re:I Use My Terminal by ttsiodras on Tuesday June 24, 2025 @05:00PM (#44371004)
I have been using xterm's default dabbrev-expand to do the same via "Alt-/" ( https://github.com/ttsiodras/dotfiles/blob/master/.Xresource... ) - which works regardless of what shell you're in.

But I was curious for your approach... so I asked Claude to convert it to bash: https://claude.ai/public/artifacts/01a49347-1617-4afe-8476-0...

Works like a charm - pinned it to Ctrl-k, which was free in my setup. I guess I don't have to depend on XTerm for this any more :-)

Thanks!