Joined February 2013
·
Posted to
Rerun your last terminal command
over 1 year
ago
A few reasons:
- This works no matter what shell you're using. I use fish myself which doesn't seem to support !! (I may be wrong!)
- Unlike !!, this clears the terminal and then reruns the last command using hex codes for UpArrow and Return so you get a clean view of the last command.
I use it mainly when running tests or repetitive commands where I need a fresh screen every time, plus a simple one touch key combo is always nice!
Achievements
102 Karma
1,522 Total ProTip Views

Forked
Have a project valued enough to be forked by someone else

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Charity
Fork and commit to someone's open source project in need

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language

T-Rex
Have at least one original repo where C is the dominant language

Lab
Have at least one original repo where C# is the dominant language

Raven
Have at least one original repo where some form of shell script is the dominant language
Does endianness become a problem with this kind of approach?