浏览代码

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
}

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:*' actionformats "$branch (%a)"
zstyle ':vcs_info:*' stagedstr "%{$fg[yellow]%}*"
zstyle ':vcs_info:*' unstagedstr "%{$fg[red]%}*"
PROMPT="$userat:$pwd$userchar "
RPROMPT="${vcs_info_msg_0_}"
RPROMPT="\${vcs_info_msg_0_}"

正在加载...
取消
保存