5 ms·
Not at all. bash readline is probably the productivity enhancer skill a developer (or system admin) can develop. Simple things like copy and paste without hit
by motoboi 4y ago
Not at all.
bash readline is probably the productivity enhancer skill a developer (or system admin) can develop.
Simple things like copy and paste without hitting a mouse. This will make you _prefer_ the cli as it is not slowing you down anymore.
- Too 4y agoYes please. Teach me how to copy output of previous command into clipboard using keyboard only and I will love you forever. Bonus if I can have a cursor to only select partial lines of the output.
- manx 4y agoMany terminals have a different mode, where you can navigate and copy everything displayed in the terminal. Alacritty can do this, for example.
- znpy 4y agoUnrelated, but you could easily do that on screen with C-a ESC (default key binding)
- jbaber 4y agoYou can pipe to xclip to get it into the copy buffer. Then "shift-insert" is often the right paste when "ctrl-v" doesn't work.
- Too 4y agoThanks for tip, but quite far from ideal. Piping into something requires 1. knowing upfront I want to copy the output. 2. Doesn’t allow partial selection of the output. 3. Extra typing | xclip after every command. 4. Xclip is not installed by default.