DEV Community

loading...

Discussion on: What do you use aliases for in terminal?

Collapse
raisonblue profile image
Blue

Thanks for reminding me how lazy I am :D

alias sysup='yay -Syu --noconfirm && yay -Syu --aur --noconfirm'
alias l=k
alias g='git'
alias y='yarn'
alias yl='yarn lint --fix'
alias yt='yarn test'
alias src='cd ~/sources'
alias aliases='code ~/.zaliases'
alias cp="cp -i" # Confirm before overwriting something
alias df='df -h' # Human-readable sizes
alias free='free -m' # Show sizes in MB
alias gitu='git add . && git commit && git push'
alias deploy='yarn lint --fix && yarn deploy'

Collapse
madza profile image
Madza Author

Some useful and often used commands there 😉
Thanks for the input 👍

Collapse
scroung720 profile image
Forem Open with the Forem app