Last active
November 3, 2017 07:40
-
-
Save onokatio/db80b6d4a2566f3b568538dc8817bbd5 to your computer and use it in GitHub Desktop.
コマンドが失敗したときにシェルの顔文字があわててたら、可愛いしわかりやすいよね ref: http://qiita.com/onokatio/items/c2d710e2cb7ec61c8dca
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (」・ω・)」うー▶~ $ ❯ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \(・ω・\)SAN値!~ $ ❯ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [ ${UID} -eq 0 ]; then | |
| PROMPT="%K{green}%B%F{black}ROOT%b%k %F{cyan}%~ %f$ " | |
| else | |
| UUU="%B%F{white}(」・ω・)」うー▶%b" | |
| NYA="%B%F{white}\(・ω・\)にゃー!%b" | |
| SAN="%B%F{red}\(・ω・\)SAN値!%b" | |
| PIN="%B%F{red}(/・ω・)/ピンチ!%b" | |
| PROMPT="%K{green}%(?,${UUU},${SAN})%k%F{cyan}%~ %f$ ❯ " | |
| RPROMPT="%K{green}%(?,${NYA},${PIN})%k${vcs_info_msg_0_}" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment