DEV Community

Discussion on: What are your most used aliases?

Collapse
 
vonheikemen profile image
Heiker

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.

Tools:

Collapse
 
gillarohith profile image
Rohith Gilla

Wow these are amazing 🙌
I’ll definitely check them out.
Thanks