Mercurial > hg > Members > kokubo > emacs
view .zshrc @ 1:d3ed59c42041 default tip
add zshrc
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Apr 2014 04:33:08 +0900 |
parents | |
children |
line wrap: on
line source
export PATH=/usr/local/bin:/opt/local/bin:/opt/local/sbin:/Applications/Vagrant/bin:/usr/local/cuda/bin:/Developer/NVIDIA/CUDA-5.5/bin:/usr/local/cuda/libnsight/nsight:$PATH export MANPATH=/opt/local/man:$MANPATH export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-5.5/lib:$DYLD_LIBRARY_PATH #export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/JDK\ 1.7.0\ Developer\ Preview.jdk/Contents/Home #export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home export JPF_HOME=/Users/e105744/Desktop/jpf/jpf-core export PATH=$HOME/.rbenv/bin:$PATH eval "$(rbenv init - zsh)" autoload -U compinit compinit bindkey -e export LSCOLORS=gxfxcxdxbxegedabagacad export LS_COLORS='di=36:ln=35:so=32:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30' zstyle ':completion:*' list-colors 'di=36' 'ln=35' 'so=32' 'ex=31' 'bd=46;34' 'cd=43;34' local GREEN=$'%{\e[1;32m%}' local PINK=$'%{\e[1;35m%}' local DEFAULT=$'%{\e[1;m%}' PROMPT="$GREEN%n @ %m$DEFAULT %% " RPROMPT="[$PINK%~$DEFAULT]" setopt PROMPT_SUBST HISTFILE=~/.zsh_history HISTSIZE=2000000 SAVEHIST=2000000 setopt hist_ignore_all_dups setopt share_history 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 setopt auto_cd setopt auto_pushd setopt pushd_ignore_dups export LISTMAX=100000 setopt list_packed setopt nolistbeep setopt no_beep zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' alias vi="vim" alias jc="javac -J-Dfile.encoding=UTF8" alias ja="java -Dfile.encoding=UTF8" alias mypc="ssh e105744@126.125.160.74" alias emacs22="/usr/bin/emacs" case "${OSTYPE}" in freebsd*|darwin*) alias ls="ls -G -w" ;; linux*) alias ls="ls --color" ;; esac PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then source "$HOME/.rvm/scripts/rvm"; fi