Created
August 29, 2016 14:32
-
-
Save marshallmick007/2e8aca7c72322fced7ee7dcf834c5467 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Path to your oh-my-zsh configuration. | |
ZSH=/usr/local/oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="mick" | |
DISABLE_AUTO_UPDATE="true" | |
DISABLE_CORRECTION="true" | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" | |
# alias ohmyzsh="mate ~/.oh-my-zsh" | |
# Set to this to use case-sensitive completion | |
# CASE_SENSITIVE="true" | |
# Comment this out to disable weekly auto-update checks | |
# DISABLE_AUTO_UPDATE="true" | |
# Uncomment following line if you want to disable colors in ls | |
# DISABLE_LS_COLORS="true" | |
# Uncomment following line if you want to disable autosetting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
# Uncomment following line if you want red dots to be displayed while waiting for completion | |
# COMPLETION_WAITING_DOTS="true" | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
plugins=(git gem z rbenv rake ruby history startup mm-arch zsh-syntax-highlighting zsh-git-prompt) | |
source $ZSH/oh-my-zsh.sh | |
# Customize to your needs... | |
ulimit -S -c 0 | |
setopt noclobber | |
setopt sharehistory # Share the same history between all shells | |
set -g visual-bell on | |
# for Postgress.app | |
#PATH="/Applications/Postgres.app/Contents/Versions/9.4/bin:$PATH" | |
# fucking java... (https://gist.github.com/johan/10590467) | |
#JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home" | |
#PATH=${JAVA_HOME}/bin:${PATH} | |
PATH=$HOME/bin:/usr/local/bin:/opt/local/bin:/usr/local/sbin:$PATH; | |
# From | |
# http://misc.twam.info/lscolors/ | |
# For BSD (osx) | |
export LSCOLORS='cxfxFxDxBxDxDxhbhdacEc' | |
# for linux | |
export LS_COLORS="di=32:ln=35:so=01;35:pi=01;33:ex=01;31:bd=01;33:cd=01;33:su=37;41:sg=37;43:tw=00;42:ow=01;34;42:" | |
#if [ -f $HOME/.config/X/gruvbox.dircolors ]; then | |
# eval `dircolors $HOME/.config/X/gruvbox.dircolors` | |
#fi | |
# see http://osxdaily.com/2012/02/21/add-color-to-the-terminal-in-mac-os-x/ | |
#export LSCOLORS='cxgxhxhxbxhxhxbabacaca' | |
#fix hard to read autocompletion colors | |
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} | |
# zmv!!! $ zmv '(*).txt' '${1}.bak' | |
autoload zmv | |
if [[ -f $(which rbenv) ]]; then | |
echo "installing rbenv" | |
export RBENV_ROOT="${HOME}/.rbenv" | |
eval "$(rbenv init -)" | |
fi | |
export EDITOR="${ZSH}/custom/plugins/editor/editor.plugin.zsh" | |
export VISUAL="nano" | |
export PAGER=less | |
# LESS termcap | |
export LESS_TERMCAP_mb=$'\E[01;35m' | |
export LESS_TERMCAP_md=$'\E[01;34m' | |
export LESS_TERMCAP_me=$'\E[0m' | |
export LESS_TERMCAP_se=$'\E[0m' | |
export LESS_TERMCAP_so=$'\E[01;44;33m' | |
export LESS_TERMCAP_ue=$'\E[0m' | |
export LESS_TERMCAP_us=$'\E[01;32m' | |
### Added by the Heroku Toolbelt | |
#export PATH="/usr/local/heroku/bin:$PATH" | |
#export PATH="$PATH:/usr/local/lib/node_modules" | |
#source $(brew --prefix nvm)/nvm.sh | |
# ssh agent | |
#if [ -f ~/.agent.env ] ; then | |
# . ~/.agent.env > /dev/null | |
# if ! kill -0 $SSH_AGENT_PID > /dev/null 2>&1; then | |
# echo "Stale agent file found. Spawning new agent… " | |
# eval `ssh-agent | tee ~/.agent.env` | |
# #ssh-add | |
# fi | |
#else | |
# echo "Starting ssh-agent" | |
# eval `ssh-agent | tee ~/.agent.env` | |
# #ssh-add | |
#fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment