diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-03-14 10:23:19 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-03-14 10:23:19 +0300 |
commit | 2d877f95fdd6e1d5143bfec9e01b80f189cb1174 (patch) | |
tree | 3983548f1c38373b796922d0177663f3fb45d6a1 /functions | |
parent | 46d70094e29661955fd2fa0d7277e48bcd070974 (diff) |
fix POWERLEVEL9K_SHORTEN_DELIMITER
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/vcs.zsh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh index 04a07e5d..d89525fd 100755 --- a/functions/vcs.zsh +++ b/functions/vcs.zsh @@ -52,8 +52,6 @@ function +vi-git-remotebranch() { remote=${$(command git rev-parse --verify HEAD@{upstream} --symbolic-full-name 2>/dev/null)/refs\/(remotes|heads)\/} if [[ -n "$POWERLEVEL9K_VCS_SHORTEN_LENGTH" ]] && [[ -n "$POWERLEVEL9K_VCS_SHORTEN_MIN_LENGTH" ]]; then - set_default POWERLEVEL9K_VCS_SHORTEN_DELIMITER $'\U2026' - if [ ${#hook_com[branch]} -gt ${POWERLEVEL9K_VCS_SHORTEN_MIN_LENGTH} ] && [ ${#hook_com[branch]} -gt ${POWERLEVEL9K_VCS_SHORTEN_LENGTH} ]; then case "$POWERLEVEL9K_VCS_SHORTEN_STRATEGY" in truncate_middle) |