記錄coding及閱讀心得
編輯home 底下的.bashrc PS1變數可改變prompt
目前使用 PS1="\[\033[35m\]\t\[\033[m\]-\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$(git_branch)\$ "
PS1="\[\033[35m\]\t\[\033[m\]-\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$(git_branch)\$ "
在開頭加了目前時間和顯示git branch 另外用顏色區分資料夾和目前位置
其它參考設定
線上預覽網站
Written with StackEdit.
沒有留言:
張貼留言