Created
December 9, 2019 17:42
-
-
Save adaam2/732b1f84bc9513c18bacbae057d7ded9 to your computer and use it in GitHub Desktop.
This file contains 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
# Docker | |
alias dc="docker-compose" | |
# Aliases to code folders | |
alias cde="cd ~/Code" | |
alias fees="cd ~/Code/consumer-fees" | |
# Golang | |
# alias go="richgo" | |
# Postgres | |
alias db-connections="ps -ef | grep postgres" | |
# Environmental | |
alias es="exec $SHELL" | |
#alias ls="colorls -lA --sd" | |
# Shortcuts | |
alias g="git" | |
alias gst="git status" | |
alias last-branch="git checkout -" | |
alias undo-last-commit="git reset --soft HEAD~1" | |
# Rails specific | |
alias be="bundle exec" | |
# Git specific | |
alias clean-files="git clean -f -d" | |
alias new-branch="git checkout -b" | |
alias recent-branches="git branch --sort=-committerdate" | |
alias za="vim ~/.aliases" | |
alias gs="git status" | |
alias tmux-kill-all="pkill -f tmux" | |
alias ls="colorls -lA --sd" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment