Skip to content

Instantly share code, notes, and snippets.

@gsora
Created February 26, 2014 18:45
Show Gist options
  • Select an option

  • Save gsora/9235793 to your computer and use it in GitHub Desktop.

Select an option

Save gsora/9235793 to your computer and use it in GitHub Desktop.
zstyle :compinstall filename '~/.zshrc'
autoload -Uz compinit zcalc
compinit
zstyle ':completion:*' menu select
zstyle '*:processes-names' command 'ps -e -o comm='
zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b'
zstyle ':completion:*' file-sort modification reverse
autoload -U colors && colors
zstyle ':completion:*' list-colors "=(#b) #([0-9]#)*=31=36"
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
setopt VI
setopt NO_BEEP
setopt correctall
export EDITOR=vim
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=200
PROMPT="%{$fg[yellow]%}%n%{$reset_color%} @ %{$fg_no_bold[cyan]%}%1~ %{$reset_color%}%# %{$fg[green]%}>> %{$reset_color%}% "
RPROMPT="[%{$fg_no_bold[yellow]%}%?%{$reset_color%}]"
alias flushDNS='sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder'
alias cp='cp -v'
alias mv='mv -v'
alias rm='rm -v'
alias ll='ls -l'
alias la='ls -a'
alias lla='ls -la'
alias c='clear'
alias less='less --quiet'
alias s='cd ..'
alias h='cd ~'
alias free='free -h'
alias grep='grep --color=auto'
alias xopen='open -a Xcode'
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/Cellar/gcc47/4.7.3/bin/:/usr/local/Cellar/gcc47/4.7.3/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment