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
-
grubFX1258yI always keep zhis in my .bashrc:
fuck() {
if [[ $# == 0 ]]; then
sudo $(history -p '!!')
else
sudo "$@"
fi
}
Always makes me giggle when i look up my command history or if somebody is watching you using bash and hammering "fuck" on the keyboard to make things work -
kevbost25618yalias pushthatshit="git push"
and my favorite
alias awesome="echo I dont appreciate your sarcasm && exit" -
kevbost25618y@Willyb321 looks like the source code for (or a variation thereof) https://github.com/nvbn/thefuck
alias fuckit="git checkout -- ."
I've used this a bit.
undefined