Open1

terminalカスタム

にしゅうにしゅう

git

autoload -Uz vcs_info
setopt prompt_subst
zstyle ':vcs_info:git:' check-for-changes true
zstyle ':vcs_info:git:
' stagedstr "%F{yellow}!"
zstyle ':vcs_info:git:' unstagedstr "%F{red}+"
zstyle ':vcs_info:
' formats "%F{green}%c%u[%b]%f"
zstyle ':vcs_info:*' actionformats '[%b|%a]'
PROMPT='%n@%m %c'$vcs_info_msg_0_' %# '
precmd(){ vcs_info }