瀏覽代碼

Ungh, stupid typos, forgot a \ to evaluate at runtime. Oops.

cray
Mitch Tishmack 11 年之前
父節點
當前提交
abd5657595
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      zsh/.zshrc

+ 2
- 2
zsh/.zshrc 查看文件

@@ -133,10 +133,10 @@ precmd()
vcs_info vcs_info
} }


local branch=" %{$fg[green]%}%b%c%u%{$fg[green]%}%{$reset_color%}"
local branch="%{$fg[green]%}%b%c%u%{$fg[green]%}%{$reset_color%}"
zstyle ':vcs_info:*' formats "$branch" zstyle ':vcs_info:*' formats "$branch"
zstyle ':vcs_info:*' actionformats "$branch (%a)" zstyle ':vcs_info:*' actionformats "$branch (%a)"
zstyle ':vcs_info:*' stagedstr "%{$fg[yellow]%}*" zstyle ':vcs_info:*' stagedstr "%{$fg[yellow]%}*"
zstyle ':vcs_info:*' unstagedstr "%{$fg[red]%}*" zstyle ':vcs_info:*' unstagedstr "%{$fg[red]%}*"
PROMPT="$userat:$pwd$userchar " PROMPT="$userat:$pwd$userchar "
RPROMPT="${vcs_info_msg_0_}"
RPROMPT="\${vcs_info_msg_0_}"

Loading…
取消
儲存