Last active
January 2, 2025 15:03
-
-
Save baran/5d205b2867d5481889ef5646c6766bb1 to your computer and use it in GitHub Desktop.
add to your ~/.zshrc or ~/.bashrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # custom aliases | |
| alias ..='cd ..' | |
| alias ...='cd ../..' | |
| alias ....='cd ../../..' | |
| alias dcb='docker-compose build' | |
| alias dcd='docker-compose down' | |
| alias dcu='docker-compose up --remove-orphans' | |
| alias dcc='docker-compose exec web rails c' | |
| alias dcr='docker-compose run web rails c' | |
| alias dcdv='docker-compose down -v' | |
| alias dcac='docker-compose run web rails assets:clobber' | |
| alias dcap='docker-compose run web rails assets:precompile' | |
| alias l='ls -la' | |
| alias mkdir='mkdir -pv' | |
| alias mv='mv -i' | |
| alias gd='git diff' | |
| alias gp='git pull' | |
| alias gs='git status' | |
| alias gcl='git clone' | |
| alias gpo='git push origin' | |
| alias gac='git add . && git commit -m "Auto commit"' | |
| alias gaac='git add . && git commit -m "Auto commit" && git push' | |
| # alias update='sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean' | |
| # alias update='brew update && brew upgrade && brew cleanup' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment