devlights
11/2/2014 - 9:18 AM

BashのPS1の設定例

BashのPS1の設定例

export PS1="[\t \w:\!]\\$ "

以下のようになる。

[18:16:22 /etc/security:309]$