Skip to content

Instantly share code, notes, and snippets.

@grodowski
Created November 27, 2016 15:06
Show Gist options
  • Save grodowski/0c7b42fa6f2c31d4544929cd80c06d43 to your computer and use it in GitHub Desktop.
Save grodowski/0c7b42fa6f2c31d4544929cd80c06d43 to your computer and use it in GitHub Desktop.
Dotfiles
# Some colors
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
# Dev shortcuts
alias be="bundle exec"
alias dkc='docker-compose'
alias dkcr='docker-compose run'
alias dkr='docker run'
alias dkm='docker-machine'
# Git Completion
source ~/.git-completion.bash
alias gce='git checkout'
alias gco='git commit'
alias gst='git status'
alias gps='git push'
alias gpl='git pull'
# Tmux magic, disable kqueue
EVENT_NOKQUEUE=1
# Longer history
export HISTSIZE=10000
# Homebrew
export PATH="/usr/local/sbin:$PATH"
# Fuck
eval $(thefuck --alias)
# Tmuxinator Configuration
source ~/.tmuxinator.bash
export EDITOR=vi
export BUNDLER_EDITOR=sublime
# Golang Support
export GOPATH="/usr/local/gocode"
export GOBIN="${GOPATH}/bin"
export PATH="${PATH}:${GOBIN}"
# ANTLR
export CLASSPATH=".:/usr/local/lib/antlr-4.5.3-complete.jar:$CLASSPATH"
alias antlr4='java -jar /usr/local/lib/antlr-4.5.3-complete.jar'
alias grun='java org.antlr.v4.gui.TestRig'
# Set up RVM
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment