Skip to content

Instantly share code, notes, and snippets.

@voodoo11
Created November 3, 2015 12:42
Show Gist options
  • Save voodoo11/53a023ecb8d2385e3552 to your computer and use it in GitHub Desktop.
Save voodoo11/53a023ecb8d2385e3552 to your computer and use it in GitHub Desktop.
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Oh-my-zsh themes
# ZSH_THEME="robbyrussell"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
plugins=(bundler command-not-found colored-man extract jump gem gitfast mvn rvm sudo systemd mercurial)
source $ZSH/oh-my-zsh.sh
# User configuration
export ANDROID_HOME="$HOME/Android/Sdk"
export PATH="$HOME/bin:$PATH"
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform_tools:$PATH"
#export PATH=/opt/chefdk/bin:$HOME/.rvm/bin:$HOME/.bin:/usr/local/bin:$HOME/bin/scripts:/usr/local/go/bin:$HOME/.gem/ruby/2.2.0/bin:$PATH
#export LESS='-FRSX -i-P%f (%i/%m) Line %lt/%L'
#export EDITOR="vim"
#export BROWSER="firefox"
#export XTERM="konsole"
#export FACEBOOK_SECRET=5b04b2bd4277aaca57da23447f791ef5
#export FACEBOOK_KEY=297537827012809
#export GITHUB_SECRET=fd74e299b442056dfd23d822638cd3b918bc248f
#export GITHUB_KEY=6bfa34fa6519c4a10695
#export MANPATH=/usr/local/man:$MANPATH
#export LANG=pl_PL.utf8
#export LC_ALL=pl_PL.utf8
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"
source ~/.zsh/keybindings.zsh
source ~/.zsh/aliases.zsh
source ~/.zsh/promptleft.zsh
source ~/.zsh/promptright.zsh
source ~/.zsh/history.zsh
source ~/.zsh/completion.zsh
source ~/.zsh/rationalise_dot.zsh
source ~/.bin/tmuxinator.zsh
zmodload zsh/mathfunc
autoload zmv
# Auto cd in directories
setopt autocd
# Extended Globbing, for example: `cp ^*.(tar|bz2|gz)`
setopt extendedglob
# Awesome highlighting
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor root)
source ~/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_STYLES[path]='fg=green,bold'
ZSH_HIGHLIGHT_STYLES[globbing]='fg=magenta,bold'
# Spectrum of colors
# source ~/.zsh/plugins/spectrum/spectrum.zsh
if type "keychain" > /dev/null; then
eval $(keychain --eval --agents ssh --noask -Q --quiet ~/.ssh/id_rsa)
fi
# Brackets
# source ~/.zsh/plugins/brackets/brackets.zsh
# RVM
[[ (-s $HOME/.rvm) ]] && source $HOME/.rvm/scripts/rvm
# Opam
[[ -s $HOME/.opam ]] && /home/swistak35/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
PATH="/home/swistak35/perl5/bin${PATH+:}$PATH"; export PATH;
PERL5LIB="/home/swistak35/perl5/lib/perl5${PERL5LIB+:}$PERL5LIB"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/home/swistak35/perl5${PERL_LOCAL_LIB_ROOT+:}$PERL_LOCAL_LIB_ROOT"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/home/swistak35/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/home/swistak35/perl5"; export PERL_MM_OPT;
export EDITOR=/usr/bin/vim
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
ANDROID_HOME="$HOME/Android/Sdk"
alias grep="/usr/bin/grep $GREP_OPTIONS"
unset GREP_OPTIONS
eval $(thefuck --alias)
eval "$(thefuck --alias FUCK)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment