Mercurial > hg > Members > kent > dotfiles
view zshrc @ 0:6d5c73fe5744
Go over to mercurial from CVS.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 15 Nov 2008 00:32:22 +0900 |
parents | |
children | 0b76aa764126 8812f32e6124 |
line wrap: on
line source
# このファイルは対話的シェルで読み込まれる # this file will be loaded by interractive shell # Lines configured by zsh-newuser-install HISTFILE=~/.zsh_history HISTSIZE=1000 SAVEHIST=1000 setopt appendhistory autocd bindkey -e # End of lines configured by zsh-newuser-install # The following lines were added by compinstall #zstyle :compinstall filename '/Users/KENT/.zshrc' #autoload -Uz compinit #compinit # End of lines added by compinstall alias ls='gls -F --show-control-chars --color=auto' alias la='ls -a' alias ll='ls -l' alias b='popd' alias vi='vim' alias sless='less -x4 -S' setopt prompt_subst PROMPT='%{[00;01;47m%}<%{[00m%}%{[04m%}%n%{[36;04m%}:%{[00;04m%}%m%{[00m%}%{[00;01;47m%}>%{[00m%} ' #PROMPT='[%{[04m%}%n%{[36;04m%}%{[00;36m%}@%{[00m%}%{[00;04m%}%m%{[00m%}]%# ' RPROMPT='%{[$[32+$RANDOM % 5]m%}%2~%{[00m%}%(1j.:&%j.)%(?..:?%?)' #RPROMPT='%(1j.%j.x)' # %j -- the number of jobs # %~ -- current directory # %m -- hostname up to the first `.' # %n -- username # %(x.str1.str2) : true then str1, false then str2 # x = `Nj' or `N?' or ... # j: the number of jobs is at least N # ?: prev command exit status is at least N setopt autopushd pushdminus # ~+0 ~+1 ~+2 ... dirs -v の上から ~0 ~1 ~2 も同じ # ~-0 ~-1 ~-2 ... dirs -v の下から # pushdminus をセットすると+-が逆転するが,~0 ~1 ~2などは変わらない eval `gdircolors ~/.dir_colors` zmodload zsh/complist export ZLS_COLORS="$LS_COLORS" # zsh read followed files # /etc/zshenv, $ZDOTDIR/.zshenv # /etc/zprofile, $ZDOTDIR/.zprofile IF (login shell) # /etc/zshrc, $ZDOTDIR/.zshrc IF (interactive shell) # /etc/zlogin, $ZDOTDIR/.zlogin IF (login shell) screen -ls