8 ms·
My similar trick is to rely on the tmux scrollback and pipe tokenized output into fzf so I can easily autocomplete in zsh against anything on the visible tmux s
by knlb 1y ago
My similar trick is to rely on the tmux scrollback and pipe tokenized output into fzf so I can easily autocomplete in zsh against anything on the visible tmux screen
https://www.threads.com/@kunalb_/post/C6ZQIOVpwMd https://www.threads.com/@kunalb_/post/C6ZQIOVpwMd
https://gist.github.com/kunalb/abfe5757e89ffba1cf3959c9543d9ac0 https://gist.github.com/kunalb/abfe5757e89ffba1cf3959c9543d9...
which has been really useful.
- tra3 1y agoFantastic. Thanks for sharing!
- dustypotato 1y agolove it!
- ttsiodras 1y agoI have been using xterm's default dabbrev-expand to do the same via "Alt-/" ( https://github.com/ttsiodras/dotfiles/blob/master/.Xresources#L30 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-06eb505855b2 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!