diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2017-02-14 04:25:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 04:25:36 +0300 |
commit | ae553a7c7f418b0b761c0fd8cf0427adeaedd96a (patch) | |
tree | 4dda4b6768422aae2b402b21815cb9ddad05f4e4 /README.md | |
parent | 221030013e93e6fcde44b8a6c656db9139c142c9 (diff) | |
parent | 36d74f34c27e77969eba205333f10a85aba4fffd (diff) |
Merge pull request #394 from dritter/dir_first_character
Add ability to omit the first character in dir path
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -313,9 +313,12 @@ the path shown would be `my-cool-project`. If you navigate to `$HOME/projects/m If you want to customize the directory separator, you could set: ```zsh -# You'll need patched awesome-terminal fonts for that example -POWERLEVEL9K_DIR_PATH_SEPARATOR="%f "$'\uE0B1'" %F" +# Double quotes are important here! +POWERLEVEL9K_DIR_PATH_SEPARATOR="%F{red} $(print_icon 'LEFT_SUBSEGMENT_SEPARATOR') %F{black}" ``` +To omit the first character (usually a slash that gets replaced if you set `POWERLEVEL9K_DIR_PATH_SEPARATOR`), +you could set `POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER=true`. + ##### disk_usage |