Fix "expected a combining operator" regression.

See #10
This commit is contained in:
Justin Hileman 2015-10-14 08:23:34 -07:00
parent bbb6a4645b
commit 7221fb8a32

View File

@ -322,7 +322,8 @@ function __bobthefish_prompt_git -a current_dir -d 'Display the actual git state
set -l new ''
set -l show_untracked (git config --bool bash.showUntrackedFiles)
if [ "$theme_display_git_untracked" != 'no' -a "$show_untracked" != 'false' ]
if [ (command git ls-files --other --exclude-standard) ]
set new (command git ls-files --other --exclude-standard)
if [ "$new" ]
if [ "$theme_avoid_ambiguous_glyphs" = 'yes' ]
set new '...'
else