Created
April 1, 2017 14:33
-
-
Save jarretmoses/9ee456b63564bc660d3ee74e946b5267 to your computer and use it in GitHub Desktop.
zsh
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
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting | |
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.5/bin/ | |
export ANDROID_HOME=~/Library/Android/sdk | |
export PATH=${PATH}:${ANDROID_HOME}/tools | |
export PATH=${PATH}:${ANDROID_HOME}/platform-tools | |
ZSH=$HOME/.oh-my-zsh | |
# PROMPT | |
BULLETTRAIN_TIME_SHOW=false | |
BULLETTRAIN_PROMPT_SEPARATE_LINE=false | |
BULLETTRAIN_PROMPT_ADD_NEWLINE=false | |
BULLETTRAIN_PROMPT_CHAR='' | |
BULLETTRAIN_RUBY_SHOW=false | |
BULLETTRAIN_VIRTUALENV_SHOW=false | |
BULLETTRAIN_DIR_EXTENDED=1 | |
BULLETTRAIN_DIR_BG=237 | |
BULLETTRAIN_DIR_FG=255 | |
BULLETTRAIN_HG_SHOW=false | |
BULLETTRAIN_GIT_CLEAN="%F{028} ✔%F{black}" | |
BULLETTRAIN_GIT_COLORIZE_DIRTY=true | |
# ZSH options | |
setopt HIST_IGNORE_ALL_DUPS | |
# OH MY ZSH OPTIONS | |
DISABLE_AUTO_UPDATE="true" | |
# ZGEN | |
source "${HOME}/.zgen/zgen.zsh" | |
if ! zgen saved; then | |
zgen oh-my-zsh | |
zgen oh-my-zsh plugins/git | |
zgen oh-my-zsh plugins/git-flow | |
zgen oh-my-zsh plugins/z | |
zgen oh-my-zsh plugins/brew | |
zgen oh-my-zsh plugins/sublime | |
zgen load zsh-users/zsh-syntax-highlighting | |
zgen load zsh-users/zsh-autosuggestions | |
# zgen oh-my-zsh themes/robbyrussell | |
# zgen load bhilburn/powerlevel9k powerlevel9k | |
zgen load caiogondim/bullet-train-oh-my-zsh-theme bullet-train | |
zgen save | |
fi | |
ZSH_THEME="solarized" | |
# Some useful aliases | |
alias ls='ls -FG' # list hidden files; add colors and file types extension | |
alias ll="ls -la |less" # display in list format using pager | |
alias lt="ls -lat |less" # display in order of time last modifed | |
alias lu="ls -laut |less" # display in order of time last accessed | |
alias l='ls -lah' # display in order | |
alias rm="rm -i" # default to confirm deletion of files | |
alias igrep="grep -i" # grep with auto ignore case | |
alias opn="open -a" # open with an application | |
alias cheat="open -a \"Google Chrome\" http://overapi.com/ruby/" | |
alias subl="open -a \"Sublime Text\"" #open Sublime Text 3 with [option] | |
alias atom="open -a \"Atom\"" #open Atom with [option] | |
alias stack="open -a \"Google Chrome\" http://www.stackoverflow.com" | |
alias sites="cd /Users/jarretmoses/Sites" | |
alias chrome"open -a \"Google Chrome\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment