diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2017-02-01 01:57:59 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2017-02-01 01:57:59 +0300 |
commit | 052eba9c74b2153dbd70eb4ba829f258a596baf2 (patch) | |
tree | 481a27b0a8b8bc2f53dc68acfee7a98dea86cdd6 /powerlevel9k.zsh-theme | |
parent | 6927b0ca94157e2fb9dcd3b12766b4e913d0e44e (diff) |
Rename `dir_permissions` segment to `dir_writable`
Additionally:
- Add changelog entry
- Add documentation
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 620a5f7d..b89f390c 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1114,8 +1114,8 @@ prompt_swift_version() { "$1_prompt_segment" "$0" "$2" "magenta" "white" "${swift_version}" 'SWIFT_ICON' } -# dir_permision: Display information about the user's permission to write in the current directory -prompt_dir_permission() { +# dir_writable: Display information about the user's permission to write in the current directory +prompt_dir_writable() { if [[ ! -w "$PWD" ]]; then "$1_prompt_segment" "$0_FORBIDDEN" "$2" "red" "226" "" 'LOCK_ICON' fi |