Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (38 sloc) 1.21 KB
# Allow completing of the remainder of a command
bindkey "^N" insert-last-word
# Show contents of directory after cd-ing into it
chpwd() {
ls -lrthG
}
# Save a ton of history
HISTSIZE=20000
HISTFILE=~/.zsh_history
SAVEHIST=20000
# Enable completion
autoload -U compinit
compinit
# Disable flow control commands (keeps C-s from freezing everything)
stty start undef
stty stop undef
# Sourcing of other files
source $HOME/.dotfiles/zsh/aliases
source $HOME/.dotfiles/zsh/functions
source $HOME/.dotfiles/zsh/prompt
source $HOME/.dotfiles/zsh/z
# Add cabal bin
export PATH=$PATH:~/.cabal/bin
# Add current directory bin
export PATH=$PATH:bin
# Add my own dotfiles bin
export PATH=$PATH:$HOME/.dotfiles/bin
# Add homebrew's bin
export PATH=$PATH:/usr/local/bin
# Add stack's bin
export PATH=$PATH:~/.local/bin
# Update hombrew once a week
export HOMEBREW_AUTO_UPDATE_SECS=600000
# RVM
[[ -s "/Users/ben/.rvm/scripts/rvm" ]] && source "/Users/ben/.rvm/scripts/rvm"
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
export N_PREFIX="$HOME/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin" # Added by n-install (see http://git.io/n-install-repo).