summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2017-08-12 20:17:55 +0300
committerGitHub <noreply@github.com>2017-08-12 20:17:55 +0300
commit6aca483b6046b7ec4a2ace6a0d1d3c2fd1022a36 (patch)
tree23b9a3c8518a6cb69f01c4802165848124842192 /README.md
parent93a1c4d2e86ea2c031165199d6d4dba1adf46468 (diff)
parentd784b1c8dce142fbf3f032c771252c2ffb563cec (diff)
Merge pull request #592 from tippl/dir_write-588
Implemented functionality from dir_writable to dir
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index f06d8e07..225f14e7 100644
--- a/README.md
+++ b/README.md
@@ -402,7 +402,11 @@ You can also customize the leading tilde character when you are in `$HOME` using
# Double quotes are important here!
POWERLEVEL9K_HOME_FOLDER_ABBREVIATION="%F{red} $(print_icon 'HOME_ICON') %F{black}"
```
+You can also configure the `dir` segment to show when you are in a directory without write permissions, using the variable below.
+| Variable | Default Value | Description |
+|----------|---------------|-------------|
+|`POWERLEVEL9K_DIR_SHOW_WRITABLE`|`false`|If set to `true` and you are in a directory that you do not have write permissions for, this segment will display a lock icon and enter the `NOT_WRITABLE` state (which can be customized per [our usual process](https://github.com/bhilburn/powerlevel9k/wiki/Stylizing-Your-Prompt#segment-color-customization). Note that this functionality is also available in a separate segment, `dir_writable`.|
##### disk_usage