Skip to content

What are your most used aliases?

gillarohith profile image Rohith Gilla twitter logo github logo ・1 min read

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.

twitter logo DISCUSS (6)
markdown guide

Most used are these.

alias ls='exa'
alias la='exa --git --header --long --all'
alias npr='pnpm run'

Then I have the tmux ones

alias tvi='tmux new-session -A -D -s vi'
alias tmus='tmux new-session -A -D -s music "$(which cmus)"'
alias pomd='tmux new-session -A -D -s pomodoro'
alias pmd-start='pomd gone -e "notify-send -u critical Pomodoro Timeout"'

My favorite is this one

alias -- -='cd -'

It looks funny but the alias is actually the last -. It takes me back to the last directory I visited.



Wow these are amazing πŸ™Œ
I’ll definitely check them out.


gi -- function gi() { curl -sLw n$@ ;}

alias ..='cd ..'
alias ...='cd ../..'

These are just natural in zsh. I also use cd -. (I've just noticed that I can use simply - as well.)

Classic DEV Post from Aug 13 '19

How open-source will Tumblr become?

In case you hadn't read the news, Verizon sold Tumblr to Automattic. Verizon owned Tumblr after it ac...

Rohith Gilla profile image