Skip to content

Instantly share code, notes, and snippets.

@mafice
Created August 10, 2012 08:41
Show Gist options
  • Select an option

  • Save mafice/3312649 to your computer and use it in GitHub Desktop.

Select an option

Save mafice/3312649 to your computer and use it in GitHub Desktop.
my dotfiles
set-option -g base-index 1
set-option -g default-shell /bin/zsh
HISTFILE=~/.zshhist
HISTSIZE=10000
SAVEHIST=10000
LSCOLORS=gxfxcxdxbxegedabagacad
alias tree="tree -C"
alias du="du -h"
alias c="clear"
alias l="ls -FG"
alias ls="ls -FG"
alias ll="ls -alG"
alias p="popd"
alias q="exit"
alias less="less --tabs=4 --no-init --LONG-PROMPT --ignore-case"
alias grep="grep -G"
alias omake="omake -s --no--progress"
alias ...="cd ../.."
alias ....="cd ../../.."
autoload colors
colors
PROMPT="%{$fg[cyan]%}%B(%n@%M)%{$reset_color%}: %{$fg[white]%}%~%{$reset_color%}%E
%% %b"
setopt extended_history auto_pushd append_history auto_list
setopt list_packed auto_menu auto_param_slash no_beep hist_ignore_dups
setopt hist_reduce_blanks print_eight_bit mark_dirs auto_cd no_beep
bindkey '^R' history-incremental-pattern-search-backward
bindkey '^S' history-incremental-pattern-search-forward
zstyle ':completion:*:sudo:*' command-path /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment