Skip to content

Commit

Permalink
📝 Replace +nf for "?" sign to show there are untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogo Alexsander Cavilha committed Dec 5, 2018
1 parent 87f7bff commit 45c0408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prompt_styles/simple-double-line.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fg_branch_status() {

if [ "$git_number_untracked_files" -gt 0 ]
then
info="${info}${blue}+${git_number_untracked_files}f${none} "
info="${info}${blue}?${none} "
fi

if [ "$git_number_changed_files" -gt 0 ]
Expand Down
2 changes: 1 addition & 1 deletion prompt_styles/simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fg_branch_status() {

if [ "$git_number_untracked_files" -gt 0 ]
then
info="${info}${blue}+${git_number_untracked_files}f${none} "
info="${info}${blue}?${none} "
fi

if [ "$git_number_changed_files" -gt 0 ]
Expand Down

0 comments on commit 45c0408

Please sign in to comment.