diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2017-08-12 20:49:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-12 20:49:50 +0300 |
commit | e464b4e2a559508f9f4e0a9bc28a3b1e7d08fbd6 (patch) | |
tree | 34dc4ebd318f6472e7cf77575f3ebd7f7f4ae14e /powerlevel9k.zsh-theme | |
parent | 5923aaf07d75a2e3f0ca0781240314e0ab91a431 (diff) |
Adding reference for `truncate_to_unique` code.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 3869d262..3baa50ce 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -711,7 +711,7 @@ prompt_dir() { ;; truncate_to_unique) # for each parent path component find the shortest unique beginning - # characters sequence + # characters sequence. Source: https://stackoverflow.com/a/45336078 paths=(${(s:/:)PWD}) cur_path='/' cur_short_path='/' |