Created
December 8, 2011 01:44
-
-
Save smallfield/1445717 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# misc | |
export LANG=ja_JP.UTF-8 | |
alias ls='ls -Gl ' | |
export PATH=/opt/local/bin:/opt/local/sbin/:$PATH | |
export MANPATH=/opt/local/man:$MANPATH | |
autoload -U compinit | |
compinit | |
HISTFILE="$HOME/.zshhistory" | |
HISTSIZE=100000 | |
SAVEHIST=100000 | |
setopt extended_history | |
function history-all { history -E 1 } | |
setopt hist_ignore_dups # ignore duplication command history list | |
setopt share_history # share command history data | |
autoload history-search-end | |
zle -N history-beginning-search-backward-end history-search-end | |
zle -N history-beginning-search-forward-end history-search-end | |
bindkey "^P" history-beginning-search-backward-end | |
bindkey "^N" history-beginning-search-forward-end | |
autoload colors | |
colors | |
PROMPT="%(?!%{${fg[green]}%}!%{${fg[red]}%})[%m:%1~]%(?!(・∀ ・! ('д `))%(!.#.$) %{${reset_color}%}" | |
PROMPT2="%{${fg[green]}%}%_>%{${reset_color}%}" | |
SPROMPT="%{${fg[red]}%}correct: %R -> %r [nyae]? %{${reset_color}%}" | |
RPROMPT="%{${fg[green]}%}[%~]%{${reset_color}%}" | |
export GISTY_DIR="$HOME/dev/gists" | |
autoload zmv | |
alias zmv='noglob zmv' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment