view zshrc @ 1:c8c579f62d99

add rc files that have relation with mailer. and symlink.py was modified as adding subroutin that make hardlink for fetchmailrc.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Sat, 15 Nov 2008 00:57:04 +0900
parents 6d5c73fe5744
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='%{%}<%{%}%{%}%n%{%}:%{%}%m%{%}%{%}>%{%} '
#PROMPT='[%{%}%n%{%}%{%}@%{%}%{%}%m%{%}]%# '
RPROMPT='%{[$[32+$RANDOM % 5]m%}%2~%{%}%(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