hyper-statusline icon indicating copy to clipboard operation
hyper-statusline copied to clipboard

Feature Request: git dirty indicator for new but untracked files

Open ghost opened this issue 7 years ago • 1 comments

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.

ghost avatar Apr 27 '18 13:04 ghost

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.

j-f1 avatar Sep 03 '18 17:09 j-f1