Skip to content

Instantly share code, notes, and snippets.

@brianchung808
Last active August 29, 2015 14:14
Show Gist options
  • Select an option

  • Save brianchung808/44f73505c9c3a524c371 to your computer and use it in GitHub Desktop.

Select an option

Save brianchung808/44f73505c9c3a524c371 to your computer and use it in GitHub Desktop.
.zshrc
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
source $HOME/.profile/.tto_credentials
source $HOME/.profile/.golang_setup
source $HOME/.profile/.aws_credentials
# theme
ZSH_THEME="pure"
DEFAULT_USER="bchung"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git brew node npm nvm zsh-syntax-highlighting)
# User configuration
export PATH="/usr/local/bin:/usr/local/git/bin:/sw/bin:/usr/local:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/bin:/opt/X11/bin:/usr/local/go/bin:/Users/bchung/Developer/golang/bin:/Users/bchung/bin"
# export MANPATH="/usr/local/man:$MANPATH"
source $ZSH/oh-my-zsh.sh
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor
export EDITOR='vim'
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# nvm
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
# Program aliases
alias git="hub"
alias vim="nvim"
# Misc. command aliases
alias ll='ls -FGlAhp'
alias l='ls'
cd() {
builtin cd "$@" &&
l &&
printf "\n";
}
alias ..="cd ../"
alias ...="cd ../../"
alias ....="cd ../../../"
alias edit='vim'
alias c='clear'
alias qfind='find . -name '
alias cleanupDS="find . -type f -name '*.DS_Store' -ls -delete"
alias fuck='$(thefuck $(fc -ln -1))'
# git things
alias gd="git diff"
alias gc="git commit"
alias gs="git status"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment