Skip to content

Commit

Permalink
Merge pull request magicmonty#400 from kecsap/forward
Browse files Browse the repository at this point in the history
Allow empty GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING variable
  • Loading branch information
magicmonty authored Nov 10, 2018
2 parents 67bfa7d + d2b7cab commit 41fa05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitprompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ function replaceSymbols() {
# Disable globbing, so a * could be used as symbol here
set -f

if [[ -z ${GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING} ]]; then
if [[ ! -v GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING ]]; then
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING=L
fi

Expand Down

0 comments on commit 41fa05b

Please sign in to comment.