1
0
Fork 0

Fix sorin prompt double expansion

pull/1306/head
Kaleb Elwert 8 years ago
parent 876f426581
commit 3bfa7533e4

@ -117,7 +117,7 @@ function prompt_sorin_setup {
zstyle ':prezto:module:git:info:unmerged' format ' %%B%F{3}═%f%%b'
zstyle ':prezto:module:git:info:untracked' format ' %%B%F{7}◼%f%%b'
zstyle ':prezto:module:git:info:keys' format \
'status' '$(coalesce "%b" "%p" "%c")%s%A%B%S%a%d%m%r%U%u'
'status' "\$(coalesce '%b' '%p' '%c')%s%A%B%S%a%d%m%r%U%u"
# Define prompts.
PROMPT='${SSH_TTY:+"%F{9}%n%f%F{7}@%f%F{3}%m%f "}%F{4}${_prompt_sorin_pwd}%(!. %B%F{1}#%f%b.)${editor_info[keymap]} '

Loading…
Cancel
Save