dracula / zsh

🧛🏻‍♂️ Dark theme for ZSH
https://draculatheme.com/zsh
MIT License
267 stars 70 forks source link

Add support for posh-git #41

Closed vanmash closed 2 years ago

vanmash commented 2 years ago

Please consider adding support for posh-git. I would love to have detailed git information shown on the right integrated into the main prompt.

posh-git2

references: https://github.com/lyze/posh-git-sh https://dahlbyk.github.io/posh-git/

avalonwilliams commented 2 years ago

I added the ability to disable the git segment so you can replace it with the posh thing, add this to the config after the posh files have been loaded.

DRACULA_DISPLAY_GIT=0
PROMPT="${PROMPT:0:-1}$(__posh_git_echo) "
vanmash commented 2 years ago

Hi @avalonwilliams

thank you for that!

PS: I've noticed that version is the same # Dracula Theme v1.2.5