mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
zsh: do not show parentheses around git prompt
This commit is contained in:
parent
651bfe01f7
commit
b280360a16
|
@ -97,7 +97,7 @@ function virtualenv_info {
|
|||
|
||||
function git_prompt() {
|
||||
if [[ -n "$(git status 2>/dev/null)" ]]; then
|
||||
local GIT_PROMPT="%F{255}($(git_prompt_info)%B%F{255}|%f%b$(git_prompt_status)$(git_remote_status)%F{255})%f"
|
||||
local GIT_PROMPT=" %F{255}$(git_prompt_info)%B%F{255} |%f%b$(git_prompt_status)$(git_remote_status)"
|
||||
echo "$GIT_PROMPT"
|
||||
else
|
||||
echo ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user