These are my favourite aliases.
alias c="code .";
alias life="cd ~/Desktop/Life";
Life
is the folder where I store all my codes :)
alias deleteDSFiles="find . -name '.DS_Store' -type f -delete"
I guess this small command saves a lot of mac users.
alias yas="yarn start";
alias ..='cd ..'
alias ...='cd ../..'
P.S: There are more, but these are my fav and most used.
Please comment down your favourites or something which think would help others.
Top comments (6)
Most used are these.
Then I have the tmux ones
My favorite is this one
It looks funny but the alias is actually the last
-
. It takes me back to the last directory I visited.Tools:
Wow these are amazing 🙌
I’ll definitely check them out.
Thanks
gi
--function gi() { curl -sLw n https://www.gitignore.io/api/$@ ;}
These are just natural in
zsh
. I also usecd -
. (I've just noticed that I can use simply-
as well.)Awesome 😎
Sharing some of mine here: carlosroso.com/pimp-your-bash-prof...
They are really nice 🙌