Skip to content

Instantly share code, notes, and snippets.

@julie-is-late
Created September 29, 2016 06:20
Show Gist options
  • Save julie-is-late/a78756013c619522bcd4b510f0ccb205 to your computer and use it in GitHub Desktop.
Save julie-is-late/a78756013c619522bcd4b510f0ccb205 to your computer and use it in GitHub Desktop.
# Path to your oh-my-zsh installation.
ZSH=/usr/share/oh-my-zsh/
# Set name of the theme to load.
#ZSH_THEME="lambda-mod"
ZSH_THEME="gnzh-custom"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
#plugins=(git archlinux golang gradle colored-man-pages ssh-agent docker docker-compose thefuck)
#plugins=(git archlinux ssh-agent thefuck)
plugins=(git ssh-agent thefuck)
# User configuration
# export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH"
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# 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"
ZSH_CACHE_DIR=$HOME/.oh-my-zsh-cache
if [[ ! -d $ZSH_CACHE_DIR ]]; then
mkdir $ZSH_CACHE_DIR
fi
source $ZSH/oh-my-zsh.sh
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory
unsetopt beep
#bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/shapirjr/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
zstyle ':completion:*' menu select
zstyle ':completion:*' rehash true
autoload -Uz promptinit
### CUSTOM ###
# don't share history between active terminal sessions
unsetopt share_history
eval $(thefuck --alias)
DEFAULT_USER="shapirjr"
TERM="xterm-256color"
export VISUAL="vim"
export EDITOR="vim"
alias vi="vim"
# custom path
export GOBIN="/home/shapirjr/go/bin"
export GOPATH="/home/shapirjr/go"
export PATH="$PATH:$GOPATH/bin"
export PATH="$PATH:/home/shapirjr/.gem/ruby/2.3.0/bin"
export PATH="$PATH:/usr/local/bin/idea"
export PATH="$PATH:/home/shapirjr/bin"
export WINDOWS="/mnt/24723640723616D0"
export JOELS="/mnt/24723640723616D0/Users/joels"
export CHROME_BIN="/usr/bin/google-chrome-beta"
export GRADLE_HOME="/home/shapirjr/dev/gradle"
export PATH="$PATH:$GRADLE_HOME/bin"
# export aliases to sudo
alias sudo='sudo '
# added by travis gem
[ -f /home/shapirjr/.travis/travis.sh ] && source /home/shapirjr/.travis/travis.sh
# added by Anaconda3 4.1.1 installer
export PATH="/home/shapirjr/anaconda3/bin:$PATH"
# VTE issue
# keep at bottom
# source /etc/profile.d/vte.sh
. /etc/profile.d/vte.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment