Fix mark for root
I broke it in cf2ff289c8755019bba5dff271ae3d03a784fc5e. Thanks to François Schmidts who immediately noticed the bug and produced a patch (but that I choose to not apply). Closes #201.
This commit is contained in:
parent
78176780e0
commit
46db8c53c9
@ -373,7 +373,10 @@ else # root!
|
||||
LP_COLOR_MARK="${LP_COLOR_MARK_ROOT}"
|
||||
LP_COLOR_PATH="${LP_COLOR_PATH_ROOT}"
|
||||
# Disable VCS info for all paths
|
||||
[[ "$LP_ENABLE_VCS_ROOT" != 1 ]] && LP_DISABLED_VCS_PATH=/
|
||||
if [[ "$LP_ENABLE_VCS_ROOT" != 1 ]]; then
|
||||
LP_DISABLED_VCS_PATH=/
|
||||
LP_MARK_DISABLED="$_LP_MARK_SYMBOL"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user