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
-
tokumei20877y@Stuxnet ctrl-L works too, and is supported by lots of terminal programs (pretty sure libreadline will make it with other combinations "just work" for shell-like programs) -
I guess that'd be ´ll´
although why bother. Shell is very good for scripting - I can easily get rid of all the aliases and recteate them as functions :) -
Alias dcp='docker-compose -f /opt/docker/docker-compose.yml'
Just writing dcp up -d has saved me an amazing amount of time -
@netikras I was wondering when someone would suggest that loophole in my question 🤣
-
Yup, ll without doubt. Shit my pants when I use someone's terminal and it doesn't have ll
-
Fradow8987ypy for python3
It's too long to type, and being on a system with default Python 2.7, if I try to type it, I forget the 3 and wonder why things don't work.
It's also very logical because python files end with .py -
Condor315487ysource .aliases
I know, it's cheating ;P but that's how my dotfiles generally work. Aliases, color allocation and such are all separate files...
Now for a specific alias...
alias mp3dl='youtube-dl --add-metadata --metadata-from-title "%(artist)s - %(title)s" -x --audio-format mp3 -o "%(title)s.%(ext)s" $1'
Maybe this one? I tend to use it only on my file server, but it's the one I think I'm currently using most often. Well, all of them are in my dotfiles for a reason of course, so yeah. I wouldn't really be able to miss any of them, that's why they're aliases to begin with :) -
Probably quickpush "description"
git checkout -b slugify("description")
git add . && git commit "description"
git push origin HEAD
And then it uses GitHub graphql API to create a new PR to master out of that branch.
I use it all the time to fix little bugs. -
I'd keep these two, the rest of them I can type them if needed:
alias u8='printf "\033%%G"'
alias nou8='printf "\033%%@"'
Related Rants

Such immense satisfaction when. You have been telling the other team that the problem is on their end and prov...
If you could keep only one alias from your {bash, zsh, etc...}rc what would it be?
question
alias l=ls
aliases
🤔