浏览代码

Skip the git word in this theme

Toon Claes 14 年之前
父节点
当前提交
8beb5a50f1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/tonotdo.zsh-theme

+ 1 - 1
themes/tonotdo.zsh-theme

@@ -1,7 +1,7 @@
 # Inspired by many other themes
 PROMPT='[%*] %{$fg[cyan]%}%n%{$fg[magenta]%}➜%{$fg[green]%}%3~$(git_prompt_info)%{$reset_color%}» '
 
-ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[blue]%}git(%{$fg[red]%}"
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}"
 ZSH_THEME_GIT_PROMPT_SUFFIX=""
 ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
 ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$fg[blue]%})"