{"blog_url":"https://sppr.hatenadiary.org/","author_name":"sppr","published":"2009-01-17 22:34:31","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsppr.hatenadiary.org%2Fentry%2F20090117%2F1232199271\" title=\"bash\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u8272\u3092\u4ed8\u3051\u308b|set color of prompt - sppr\u2019s notes\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u7dd1\u8272\u306b\u8a2d\u5b9a\u3059\u308b|set color of prompt to green GREEN=\"0;32\" START_COLOR=\"\\e[${GREEN}m\" END_COLOR=\"\\e[0m\" export PS1=\"${START_COLOR}[\\u@\\h \\W]\\$${END_COLOR} \" \u8272\u3092\u5909\u3048\u305f\u3044\u90e8\u5206\u3092 ${START_COLOR} \u3068 ${END_COLOR} \u3067\u56f2\u3080|change color between ${START_COLOR} and ${END_COLOR} \u30ab\u30e9\u30fc\u30c6\u30fc\u30d6\u30eb|color table Black 0;30 Blue 0;34 Green 0;\u2026","author_url":"https://blog.hatena.ne.jp/sppr/","title":"bash\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u8272\u3092\u4ed8\u3051\u308b|set color of prompt","categories":["linux","shell","bash"],"url":"https://sppr.hatenadiary.org/entry/20090117/1232199271","height":"190","blog_title":"sppr\u2019s notes","provider_name":"Hatena Blog","width":"100%","version":"1.0","image_url":null,"type":"rich","provider_url":"https://hatena.blog"}