mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Documented DIR_SHOW_WRITABLE in README.md
This commit is contained in:
parent
c4a1d91118
commit
cefe984e3d
1 changed files with 2 additions and 0 deletions
|
@ -402,6 +402,8 @@ You can also customize the leading tilde character when you are in `$HOME` using
|
||||||
# Double quotes are important here!
|
# Double quotes are important here!
|
||||||
POWERLEVEL9K_HOME_FOLDER_ABBREVIATION="%F{red} $(print_icon 'HOME_ICON') %F{black}"
|
POWERLEVEL9K_HOME_FOLDER_ABBREVIATION="%F{red} $(print_icon 'HOME_ICON') %F{black}"
|
||||||
```
|
```
|
||||||
|
If you want to see, when you do not have write permissions on the current folder, you can set `POWERLEVEL9K_DIR_SHOW_WRITABLE=true`.
|
||||||
|
This will set the `dir` segment to a `NOT_WRITABLE` state when current folder is not writable, allowing you to customize the `dir` segment [colors](https://github.com/bhilburn/powerlevel9k/wiki/Stylizing-Your-Prompt#segment-color-customization).
|
||||||
|
|
||||||
|
|
||||||
##### disk_usage
|
##### disk_usage
|
||||||
|
|
Loading…
Reference in a new issue