Skip to content

Conversation

specious
Copy link

I was inspired by your cheatsheet and made some improvements to the bash prompt definition while working on my own bash prompt with git integration.

Now it detects presence of git and doesn't show the branch unless you're in a git repository. The verbatim output of git status must have changed at some point, because now it says nothing to commit, working tree clean.

@su8
Copy link

su8 commented Apr 3, 2018

Doesn't work in zsh.

@specious
Copy link
Author

oh-my-zsh makes it extremely easy to install a zsh prompt with git integration. Here's one that I made called bender.

Did it work with zsh before this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants