Fixed @dracula-left-icon-padding not disabling padding when 0

This commit is contained in:
Daniel Memije 2020-12-16 11:11:02 -06:00
parent 5b31360b95
commit 3a2538ac2e
No known key found for this signature in database
GPG key ID: B39806329043863D

View file

@ -67,7 +67,10 @@ main()
esac esac
# Handle left icon padding # Handle left icon padding
padding=""
if [ "$show_left_icon_padding" -gt "0" ]; then
padding="$(seq -f " " -s '' $show_left_icon_padding)" padding="$(seq -f " " -s '' $show_left_icon_padding)"
fi
left_icon="$left_icon$padding" left_icon="$left_icon$padding"
# Handle powerline option # Handle powerline option