以下是我常用的 .bashrc 設定:
#格式化 ls 的顏色 alias ls='ls -F --color' #關閉喇叭的 "BEEP" 聲 setterm -bfreq #用上/下鍵搜尋執行過的指令 bind '"\x1b\x5b\x41":history-search-backward' bind '"\x1b\x5b\x42":history-search-forward' #其它 alias h='history 25' alias vi='vim' #設定提示字元的顏色 PS1="\e[0;32m[\u@\h \W]$ \e[m"
2007
4
1月
- Posted by citypig at 11:36 pm (4,260 views)
- No comments published
- Filed under: bash, linux


