Open deathtrip opened 6 years ago
Thanks, @deathtrip!
Okay, it sounds like the second item could be fixed by moving the space from the code to the icon itself. Pretty simple.
For the first one, the proposed solution of moving the slash to the icon definition itself would work. It feels a little clunky to me, but I don't think it would actually impact other configurations. @dritter - thoughts on that?
is this still open?
is this still open?
The issue is in status Open and p9k still behaves as described by the OP.
It sounds like the 2nd item could be fixed by moving the space from the codes to the icon itself, pretty simple.
So i use DIR_PATH_SEPARATOR, but i still want the leading slash for the root directory, instead of the icon. So i set POWERLEVEL9K_FOLDER_ICON='/' and here's the problems i encounter with it:
Meanwhile DIR_OMIT_FIRST_CHARACTER doesn't seem to do anything in this particular config, as i read in the documentation the leading slash gets removed anyway when using DIR_PATH_SEPARATOR. I think DIR_OMIT_FIRST_CHARACTER should be tweaked to apply even when DIR_PATH_SEPARATOR is used.