Created
October 17, 2011 10:20
-
-
Save shinka-cb/1292339 to your computer and use it in GitHub Desktop.
パス名が長くなったら途中を異なる色で(ryと短縮するzshのプロンプト
This file contains 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="%B%{${fg[blue]}%}%(5~.%-2~/%{${fg[cyan]}%}(ry%{${fg[blue]}%}/%2~.%~)%(!.#.$) %{${reset_color}%}%b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment