Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/.bin
src/.bin
.stack-work
2 changes: 1 addition & 1 deletion gitstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

error_string = error.decode('utf-8')

if 'fatal: Not a git repository' in error_string:
if 'fatal: Not a git repository'.lower() in error_string:
sys.exit(0)

branch = branch.decode("utf-8").strip()[11:]
Expand Down
2 changes: 1 addition & 1 deletion zshrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ git_super_status() {
STATUS="$STATUS$ZSH_THEME_GIT_PROMPT_CHANGED$GIT_CHANGED%{${reset_color}%}"
fi
if [ "$GIT_UNTRACKED" -ne "0" ]; then
STATUS="$STATUS$ZSH_THEME_GIT_PROMPT_UNTRACKED%{${reset_color}%}"
STATUS="$STATUS$ZSH_THEME_GIT_PROMPT_UNTRACKED$GIT_UNTRACKED%{${reset_color}%}"
fi
if [ "$GIT_CHANGED" -eq "0" ] && [ "$GIT_CONFLICTS" -eq "0" ] && [ "$GIT_STAGED" -eq "0" ] && [ "$GIT_UNTRACKED" -eq "0" ]; then
STATUS="$STATUS$ZSH_THEME_GIT_PROMPT_CLEAN"
Expand Down