Created
April 5, 2018 08:32
-
-
Save onokatio/5d78a7a37769b1e47a07164ab1e6b260 to your computer and use it in GitHub Desktop.
お前らのターミナルは可愛くない ref: https://qiita.com/onokatio/items/9b18d900629b84e5845d
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
| $ PROMPT="人の金で焼き肉が食べたい!! " |
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
| $ PROMPT="%K{black}%F{red}人の%F{yellow}金で%F{orange}焼き%F{blue}肉が%F{white}食べ%F{green}たい!! %~ " |
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
| $ PROMPT="%K{black}%F{red}人の%F{yellow}金で%F{orange}焼き%F{blue}肉が %~ " | |
| $ RPROMPT="%F{black}%K{white}食%K{yellow}べ%K{green}た%K{red}い%K{blue}!!" |
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 [[ -n "${REMOTEHOST}${SSH_CONNECTION}" ]];then | |
| ISSSH="%K{yellow}%F{black}SSH %k%f" | |
| fi | |
| PROMPT="%K{black}${ISSSH}%F{red}人の%F{yellow}金で%F{orange}焼き%F{blue}肉が %~ " | |
| RPROMPT="%F{black}%K{white}食%K{yellow}べ%K{green}た%K{red}い%K{blue}!!" |
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 | |
| ISROOT="%K{red}%F{black}ROOT %k%f" | |
| fi | |
| PROMPT="%K{black}${ISROOT}%F{red}人の%F{yellow}金で%F{orange}焼き%F{blue}肉が %~ " | |
| RPROMPT="%F{black}%K{white}食%K{yellow}べ%K{green}た%K{red}い%K{blue}!!" |
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
| preexec() { | |
| _pre="$1" | |
| } | |
| precmd(){ | |
| _r=$? | |
| case "${_pre}" in | |
| cd*|git*|vi*|:) | |
| vcs_info | |
| ;; | |
| esac | |
| _pre="" | |
| return ${_r} | |
| } | |
| setopt prompt_subst | |
| zstyle ':vcs_info:*' enable git | |
| zstyle ':vcs_info:git:*' check-for-changes true | |
| zstyle ':vcs_info:git:*' stagedstr "%K{yellow}" | |
| zstyle ':vcs_info:git:*' unstagedstr "%K{red}" | |
| zstyle ':vcs_info:*' formats "%K{green}%F{white}%c%u[%b]%f" | |
| zstyle ':vcs_info:*' actionformats '[%b|%a]' | |
| vcs_info | |
| PROMPT="%K{black}${ISROOT}%F{red}人の%F{yellow}金で%F{orange}焼き%F{blue}肉が %~ " | |
| RPROMPT="%f%b%k${vcs_info_msg_0_}%F{black}%K{white}食%K{yellow}べ%K{green}た%K{red}い%K{blue}!!" | |
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
| # 略 | |
| zstyle ':vcs_info:git:*' stagedstr "%K{white}%F{yellow}" # %c | |
| zstyle ':vcs_info:git:*' unstagedstr "%K{white}%F{red}" # %u | |
| zstyle ':vcs_info:*' formats "%K{black}%F{white}%F{green}%K{white}%c%u[%b]%f" | |
| # 略 | |
| UUU="%K{white}%F{black}(」・ω・)」うー" | |
| NYA="\(・ω・\)にゃー!" | |
| PROMPT="${UUU} %K{blue}%F{white} %F{black}%~ %k%F{blue}%f " | |
| RPROMPT='%f%b%k${vcs_info_msg_0_}%F{black}%K{white}%F{white}%K{black} ${NYA} %f' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment