Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I started using it months ago and don't miss that so much, if I really can't rerun the command and pipe it to less/grep. I'll just use the mouse to copy it to the clipboard and then run `xclip -o` (linux) or `pbpaste` (mac) and pipe it to grep. I know there's a keybinding for putting the buffer in a file, but copying with the mouse is faster than finding it.

Also, not sure if this is by default or it picked it up from my old iTerm2 configuration, but cmd+shift+up/down navigates through prompt lines so it's easy to find the start of a long command. My PS1 in zsh is:

    PS1='%1~ %F{green}ยป%f '


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: