Skip to content

Instantly share code, notes, and snippets.

@co2bo
Last active February 6, 2017 22:01
Show Gist options
  • Select an option

  • Save co2bo/b515931b26a826a3440785041809dedf to your computer and use it in GitHub Desktop.

Select an option

Save co2bo/b515931b26a826a3440785041809dedf to your computer and use it in GitHub Desktop.
export ZSH="${HOME}/.oh-my-zsh"
#
# Theme
#
# ZSH_THEME="nicoulaj"
ZSH_THEME="bullet-train"
#
# Less
#
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline
#
# Alias
#
alias cask="brew cask"
alias zshconfig="subl ~/.zshrc"
alias ohmyzsh="subl ~/.oh-my-zsh"
alias brew-cleancache="find $HOME/Library/Caches/Homebrew -type f -exec rm '{}' +"
#
# Completion
#
COMPLETION_WAITING_DOTS="true"
#
# Plugins
#
plugins=(brew brew-cask git osx terminalapp thor themes rvm ruby gem bundler rails nvm node npm bower github sublime coffee web-search encode64 colored-man zsh-syntax-highlighting)
#
# Source
#
source $ZSH/oh-my-zsh.sh
#
# Path
#
export PATH="{$HOME}/bin:/usr/local/bin:/usr/local/sbin:${PATH}"
#
# NVM
#
export NVM_DIR="${HOME}/.nvm"
source $(brew --prefix nvm)/nvm.sh
#
# Encoding
#
export LANG=de_DE.UTF-8
export LC_ALL=de_DE.UTF-8
#
# Github_Homebrew_Token
#
export HOMEBREW_GITHUB_API_TOKEN="60e2a9574e9e4b744cf5d2f8a7b31a7be6126839"
#
# Add RVM to PATH for Scripting
#
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
#
# iTerm-Shell
#
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
#
# Editor
#
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='subl'
else
export EDITOR='subl'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment