hyper-statusline
hyper-statusline copied to clipboard
Feature Request: git dirty indicator for new but untracked files
In my zsh configuration I am currently using the following function to track whether there are any modified files and new untracked files:
gitDirty() {
[[ $(git status 2> /dev/null | grep -o '\w\+' | tail -n1) != ("clean"|"") ]] && echo "*"
}
The statusline only shows indicators for changes in already tracked files and not for new untracked files.
This included in #78, which I’ve published to @j-f/hyper-statusline. You can swap hyper-statusline with @j-f/hyper-statusline in your config to switch.