Skip to content

Instantly share code, notes, and snippets.

@adaam2
Created December 9, 2019 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adaam2/732b1f84bc9513c18bacbae057d7ded9 to your computer and use it in GitHub Desktop.
Save adaam2/732b1f84bc9513c18bacbae057d7ded9 to your computer and use it in GitHub Desktop.
# 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