Skip to content

Conversation

@spruce
Copy link

@spruce spruce commented Jul 31, 2018

Hi,
thanks for the best dotfiles yet 👍 .
Now to my "problem". Currently when being in a detached HEAD state the prompt throws up and always shows a warning that

fatal: ref HEAD is not a symbolic ref

and shows an incomplete prompt e.g.:

🔌  ⚡️in .dotfiles/ on

This PR fixes that and displays:

🔌  ⚡️  in .dotfiles/ on detached HEAD

Maybe the message could be tweak a little (maybe show commit sha) but is in my opinion way better than throwing an error.

spiderbites added a commit to spiderbites/dotfiles that referenced this pull request Jul 26, 2024
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.

1 participant