You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently switched to starship and really like it. Thanks!
The new git_commit module is very useful, but I have a feature request, which maybe also others may find useful (as other prompts do it like that).
Is your feature request related to a problem? Please describe.
In version 0.28.0 the git_commit module was added. I find the commit hash very useful when in detached HEAD state (no branch checked out, but a specific commit, e.g. while interactively rebasing,...). When I'm on a branch I don't need this information.
Describe the solution you'd like
IMHO an option to toggle the behavior would be great. E.g. detached_only:
false (default): behaves like right now; always shows the current commit hash.
true: only shows the commit hash when in detached HEAD state; not when on a branch.
Describe alternatives you've considered
Just live with it :)
The text was updated successfully, but these errors were encountered:
Feature Request
I recently switched to starship and really like it. Thanks!
The new
git_commit
module is very useful, but I have a feature request, which maybe also others may find useful (as other prompts do it like that).Is your feature request related to a problem? Please describe.
In version 0.28.0 the
git_commit
module was added. I find the commit hash very useful when in detached HEAD state (no branch checked out, but a specific commit, e.g. while interactively rebasing,...). When I'm on a branch I don't need this information.Describe the solution you'd like
IMHO an option to toggle the behavior would be great. E.g.
detached_only
:false
(default): behaves like right now; always shows the current commit hash.true
: only shows the commit hash when in detached HEAD state; not when on a branch.Describe alternatives you've considered
Just live with it :)
The text was updated successfully, but these errors were encountered: