zsh
zsh copied to clipboard
Moved the space after the arrow icon to be in the arrow variable
I wanted to remove the arrow in my configuration by setting DRACULA_ARROW_ICON="", however, the current behavior always inserts a space between the arrow and the current working directory.
I moved the space to be a part of the arrow variable itself rather than within the print function. Now you can do this:
The original behavior is the same. However users will have to update their custom DRACULA_ARROW_ICON variable to include a space if they want it.
The README in fact already matches this
### Status Segment Indicator
The status segment indicator (the arrow at the beginning), can be changed by setting the `DRACULA_ARROW_ICON` variable. For example, to use an ASCII '->':
``sh
DRACULA_ARROW_ICON="-> "
``