From bash to zsh and everywhere in between, show me yours and I’ll show you mines. Inspire others or get some feedback.
Simply copy & paste the output of alias in your terminal or add some comments to explain things for others.
Edit: Kbin users, click ‘More’ on a comment and use the fediverse link to read responses that have funky formatting
Some random ones I created over the last week or so:
alias clipboard=‘xclip -selection clipboard’ # Allows me to pipe output directly to my keyboard. good for pwd for example.
Function allows me to get tldr and cheat responses to commands quickly
function cht() {
curl cheat.sh/$1
}
Easy calculator so that I can do math w/o launching a specific app
function calc()
echo “scale=3; $@”