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
Improves shell prompt with git and nvm info (#251)
## Changes
Enhances the shell prompt to display Git branch and status information,
as well as the currently active Node.js version managed by NVM.
- Sources `.git-prompt-support` to provide git status in the prompt.
- Modifies `gitlogp` to allow reverse chronological listing.
- Uses helper functions to obtain the basename of the nvm symlink target
and parent directory to support both Windows and Linux environments.
- Changes git status indicators from parenthesis to curly braces.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Enhanced pretty git log with branch filtering and optional reverse
commit order.
* Added shell helpers to improve prompt display for Node version and
symlink targets.
* Expanded Git-related prompt support for richer status information.
* **Improvements**
* Updated prompt git-status badge format for clearer display.
* More robust whitespace handling when detecting CHERRY-PICK/REVERT Git
states.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
0 commit comments