Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

69 lines (50 sloc) 1.69 kB
# Load all my files
for config_file ($HOME/.zsh/*.zsh) source $config_file
## Command history configuration
HISTFILE=$HOME/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt append_history
setopt extended_history
setopt hist_expire_dups_first
setopt hist_ignore_dups # ignore duplication command history list
setopt hist_ignore_space
setopt inc_append_history
setopt share_history # share command history data
# Changing/making/removing directory
setopt auto_pushd
setopt pushd_ignore_dups
# private configs
if [ -f $HOME/.zshrc_private ]; then
source $HOME/.zshrc_private
fi
export CDPATH=:$HOME/code:$HOME/code/src/github.com/lucapette
export CDPATH=$CDPATH:$HOME/code/src/github.com/marleyspoon
# LS colors
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
export GREP_COLOR='1;32'
export GREP_OPTIONS=--color=auto
# Of course
export EDITOR=vim
export PATH=.:./bin:$HOME/bin:/usr/local/bin:$PATH
export PATH=/usr/local/opt/coreutils/libexec/gnubin::$PATH
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
export GOPATH=$HOME/code
export GOROOT=`go env GOROOT`
export GOBIN=$HOME/bin
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
# Use a menu for multiple options
zstyle ':completion:*:*:*:*:*' menu select
fpath=(~/.zsh/completions /usr/local/share/zsh-completions $fpath)
# Load the completion system
autoload -U compinit
compinit
compdef g=git
compdef hub=git
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh
precmd_functions+=("chruby_auto") # correctly show the ruby version in the prompt
# complete versions, thanks to @sickill
# https://github.com/postmodern/chruby/issues/27
compctl -g '~/.rubies/*(:t)' chruby
Jump to Line
Something went wrong with that request. Please try again.