Skip to content

Instantly share code, notes, and snippets.

@janniks
Last active April 19, 2019 09:52
Show Gist options
  • Save janniks/febae5ef63d8cc9cd45ea9169c6af754 to your computer and use it in GitHub Desktop.
Save janniks/febae5ef63d8cc9cd45ea9169c6af754 to your computer and use it in GitHub Desktop.
99,100c99,102
< SPACESHIP_GIT_STATUS_PREFIX="${SPACESHIP_GIT_STATUS_PREFIX:=" ["}"
< SPACESHIP_GIT_STATUS_SUFFIX="${SPACESHIP_GIT_STATUS_SUFFIX:="]"}"
---
> # CUSTOM-EDIT # SPACESHIP_GIT_STATUS_PREFIX="${SPACESHIP_GIT_STATUS_PREFIX:=" ["}"
> SPACESHIP_GIT_STATUS_PREFIX="${SPACESHIP_GIT_STATUS_PREFIX:=" "}"
> # CUSTOM-EDIT # SPACESHIP_GIT_STATUS_SUFFIX="${SPACESHIP_GIT_STATUS_SUFFIX:="]"}"
> SPACESHIP_GIT_STATUS_SUFFIX="${SPACESHIP_GIT_STATUS_SUFFIX:=""}"
316c318
< echo -n "%{%B%}" # set bold
---
> # CUSTOM-EDIT # echo -n "%{%B%}" # set bold
321c323
< echo -n "%{%b%}" # unset bold
---
> # CUSTOM-EDIT # echo -n "%{%b%}" # unset bold
323c325,326
< echo -n "%{%B$color%}" # set color
---
> # CUSTOM-EDIT # echo -n "%{%B$color%}" # set color
> echo -n "%{$color%}" # set color
325c328,329
< echo -n "%{%b%f%}" # unset color
---
> # CUSTOM-EDIT # echo -n "%{%b%f%}" # unset color
> echo -n "%{%f%}" # unset color
327c331
< echo -n "%{%B%}" # reset bold, if it was diabled before
---
> # CUSTOM-EDIT # echo -n "%{%B%}" # reset bold, if it was diabled before
331c335
< echo -n "%{%b%}" # unset bold
---
> # CUSTOM-EDIT # echo -n "%{%b%}" # unset bold
1031c1035,1036
< _prompt_section "%(?.green.red)" "${SPACESHIP_PROMPT_SYMBOL} "
---
> # CUSTOM-EDIT # _prompt_section "%(?.green.red)" "${SPACESHIP_PROMPT_SYMBOL} "
> _prompt_section "%(?.white.white)" "${SPACESHIP_PROMPT_SYMBOL} "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment