2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

bashのプロンプトを見やすくシンプルカラーに変更

Last updated at Posted at 2019-12-05

参考

こちらが参考になりました!

方法

.bashrcに追記します。数字の37はカラーコードで30~37の中から選べます。ターミナルに合った好みのものを選んでください。

export PS1='\n \[\e[1;37m\]\w \n \[\e[1;37m\]> \[\e[m\]
'

[変更後(homeディレクトリ)]
 ~
 > 
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?