Skip to content

Instantly share code, notes, and snippets.

@bradclawsie
Created December 5, 2010 04:10
Show Gist options
  • Save bradclawsie/728773 to your computer and use it in GitHub Desktop.
Save bradclawsie/728773 to your computer and use it in GitHub Desktop.
public .zshrc
export HISTFILE=~/.histfile
export HISTSIZE=1000
export SAVEHIST=1000
bindkey -e
zstyle :compinstall filename "$HOME/.zshrc"
autoload -Uz compinit
compinit
PS1="$ "
export PATH=""
export PERL5LIB=""
export PERL_READLINE_NOWARN="yes"
export ALTERNATE_EDITOR="emacs" EDITOR="emacsclient" VISUAL="emacsclient"
export INSIDEIP="REDACTED"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
alias c=clear
alias h=history
setopt autopushd pushdminus pushdsilent pushdtohome
setopt autocd
setopt cdablevars
setopt interactivecomments
setopt noclobber
setopt HIST_REDUCE_BLANKS
setopt HIST_IGNORE_SPACE
setopt SH_WORD_SPLIT
zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*:match:*' original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
zstyle ':completion:*:cd:*' ignore-parents parent pwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment