Skip to content

プロンプトの外観を変える ​

環境変数PS1で変更可能です。

shell
PS1="\[\e[32m\]\u@\h\[\e[0m\]:\[\e[36m\]\w \[\e[35m\]\$ \[\e[0m\]"