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
export PATH=/opt/local/bin:/opt/local/sbin:$PATH | |
export PTEX_IN_FILTER="/opt/local/bin/nkf -j" | |
# PROMPT | |
PS1="[@${HOST%%.*} %1~]%(!.#.$) " # この辺は好み | |
RPROMPT="%T" # 右側に時間を表示する | |
setopt transient_rprompt # 右側まで入力がきたら時間を消す | |
setopt prompt_subst # 便利なプロント | |
bindkey -e # emacsライクなキーバインド |
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
set nocompatible "vi非互換モード | |
"####################### | |
" 表示系 | |
"####################### | |
set number "行番号表示 | |
set showmode "モード表示 | |
set title "編集中のファイル名を表示 | |
set ruler "ルーラーの表示 | |
set showcmd "入力中のコマンドをステータスに表示する |
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
require 'dxruby' | |
def simpleHash(x) | |
x = x * 1103515245 + 12345 | |
return x & 2147483647 | |
end | |
Window.width = 640 | |
Window.height = 480 | |
Window.bgcolor = [0, 0, 0] |
NewerOlder