Skip to content

Commit 3c15eb0

Browse files
authored
Merge pull request #1704 from a1346054/fixes
Use same style as zsh documentation
2 parents fa0e325 + 6e496b9 commit 3c15eb0

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ autoload -Uz vcs_info
2828
precmd_vcs_info() { vcs_info }
2929
precmd_functions+=( precmd_vcs_info )
3030
setopt prompt_subst
31-
RPROMPT=\$vcs_info_msg_0_
32-
# PROMPT=\$vcs_info_msg_0_'%# '
31+
RPROMPT='${vcs_info_msg_0_}'
32+
# PROMPT='${vcs_info_msg_0_}%# '
3333
zstyle ':vcs_info:git:*' formats '%b'
3434
----
3535

0 commit comments

Comments
 (0)