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
-
@linuxxx Does the devRant app notify you multiple times if I upvote your comment, then remove the upvote, then upvote you again?
Because devRant might only let me upvote you just once, but you at least deserve many more upvote notifications. -
hjk10157316y@juneeighteen that's a function not an alias. Still a nice one.
My favourite is still
alias ll="ls -hal"
Finding out where disk usage is coming from is one of the few things a well configured infra still needs from time to time:
alias usage="du -h . | sort -h" -
willol13896ygit-amend, which does a fixup of any commit. Kinda like "git commit --amend", but not necessarily on the last commit.
-
Condor324966y@joeperri95 I'll add that one to my dotfiles :3
My personal favorite is courtesy of AlexDeLarge.. [ -x /usr/bin/apt ] && alias fucking="apt"
$ fucking update
$ fucking install package
You get the idea, right :P -
@Midnigh-shcode somehow that alias is baked into my oh-my-zsh config, and I didn't do it.
Related Rants
What's your favorite shell alias that you made for yourself?
I use this one all the time:
squash () {
git rebase -i HEAD~${1}
}
Runner up though is `git-fuckit` which resets everything to origin/master.
rant
q&a
alias
shell