Changeset 26583
- Timestamp:
- 12/12/08 18:51:31 (4 years ago)
- Files:
-
- 1 modified
-
dotfiles/zsh/hsbt-zshrc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/zsh/hsbt-zshrc
r6201 r26583 3 3 4 4 # ref http://0xcc.net/unimag/3/ 5 HISTFILE=$HOME/ .zsh-history # 履歴をファイルに保存する5 HISTFILE=$HOME/Dropbox/.zsh-history # 履歴をファイルに保存する 6 6 HISTSIZE=100000 # メモリ内の履歴の数 7 7 SAVEHIST=100000 # 保存される履歴の数 … … 10 10 export LANG=ja_JP.UTF-8 11 11 export OUTPUT_CHARSET=UTF-8 12 export PATH=/var/lib/gems/1.8/bin:$PATH 13 export EDITOR=nano 12 14 13 15 # autocomp … … 42 44 setopt print_eight_bit 43 45 46 PROMPT='%(?..exit %?) 47 %{[33m%}%~%{[m%} %{[91m%}`$HOME/.zsh.d/repospath.pl $(pwd)`%{[m%} 48 %{[38m%}%(!.#.$)%{[m%}%{m%} ' 49 RPROMPT='%{[38m%}[%n@%m]%{m%}%{[00m%}' 50 44 51 set autopushd 45 52 alias gd='dirs -v; echo -n "select number: "; read newdir; cd +"$newdir"' 46 53 find-grep () { find . -type f -print | xargs grep -n --binary-files=without-match $@ } 54 55 # ls colors 56 export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30' 57 alias ls="ls --color" 58 59 # env option 60 export CVS_RSH=ssh 61 export JAVA_HOME=/usr/lib/j2sdk1.6-sun/ 47 62 48 63 function chpwd() { … … 57 72 bindkey '\^' cdup 58 73 59 # ls colors 60 export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30' 61 alias ls="ls --color" 74 function scratch () { 75 NAME=$1 76 svk mkdir "//scratch/${NAME}" -m "" && svk co "//scratch/${NAME}" 77 } 62 78 63 # env option 64 export CVS_RSH=ssh 65 export JAVA_HOME=/usr/lib/j2sdk1.6-sun/ 66 67 # zsh help extension 68 # ref http://d.hatena.ne.jp/rubikitch/20071008#zshhelp 69 # ref http://d.hatena.ne.jp/odz/20071013/1192290581 70 export HELPDIR="${HOME}/zsh/help" 79 keychain id_rsa id_dsa 80 . $HOME/.keychain/$HOST-sh
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)