Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@arantr This command is probably the most holy gift the Gods of terminals have given to us. Never thought I would say this, but the day I found this out is still in my memories.
-
Sraleik1818yPersonally, i use fish with vi shortcut. It saves me so much time :D
Sometime it's like your terminal can read your mind XD -
hell165968yzsh is the holy grail for this, you start typing the command and press up and it gives you the last commands that start with the given text.
Ex.: you did `tar -czf test.pdf test.tar` , if you type `tar` and press up it gives you the whole `tar -czf test.pdf test.tar` 😍 -
Totally relatable.. "I know I made this command not too long ago, so just scroll back a bit.. Or was that on the other server?"
-
@azous it's even better than you advertise. It gives you the last command containing the string, not just starting with. Love zsh!
-
java91588yI love u fzf's (https://github.com/junegunn/fzf) replacement for Ctrl + R which allows you to fuzzy search in your history.
Apart from being an awesome tool anyways. -
Definitely agree with ctrl+r and grepping bash_history. But I've always wanted this to just work: for when you overshoot the command with ctrl, use ctrl+s to go back, brilliant when it works without stty -ixon http://superuser.com/q/472846/...
-
$ cat ~/.initrc
## arrow up
"\e[A":history-search-backward
## arrow down
"\e[B":history-search-forward
From: https://askubuntu.com/questions/...
Related Rants
Oh yes I know how it feels.
undefined
bash