3 ms·
Terminal app feature idea: a hotkey that puts the last command run in the copy buffer
by chrissnell 5y ago
Terminal app feature idea: a hotkey that puts the last command run in the copy buffer
- dllthomas 5y agofunction copy_last_command { history 1 | sed 's/ [0-9]* //' | xclip -i } bind -x '"\C-h":copy_last_command'
- bobbyi_settv 5y agoThe Mac equivalent of xclip -i is pbcopy