Skip to content

Commit c486304

Browse files
committed
Sync A-git-in-other-environments zsh.
1 parent 1891262 commit c486304

File tree

1 file changed

+2
-1
lines changed
  • book/A-git-in-other-environments/sections

1 file changed

+2
-1
lines changed

book/A-git-in-other-environments/sections/zsh.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ setopt prompt_subst
2929
export RPROMPT=$'$(__git_ps1 "%s")'
3030
----
3131

32-
当你的命令行位于一个 Git 仓库目录时,在任何时候,都可以在命令行窗口右侧显示当前分支。看起来像这样:
32+
当你的命令行位于一个 Git 仓库目录时,在任何时候,都可以在命令行窗口右侧显示当前分支。
33+
它看起来像这样:
3334

3435
.自定义 `zsh` 提示符.
3536
image::images/zsh-prompt.png[自定义 `zsh` 提示符.]

0 commit comments

Comments
 (0)