aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-08 15:42:07 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-08 15:42:07 +0300
commit53ce6eb71dc9f5544d527e86058b059647332b16 (patch)
treea141fdc6d94280a7ae90afa5db3ca61f72f5acb1 /internal/p10k.zsh
parent0525188402c8e45560cad7e16108d808dfd4f659 (diff)
save and restore VCS_STATUS_NUM_UNSTAGED_DELETED
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 24239e27..87bfc7f9 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2460,7 +2460,7 @@ $z$VCS_STATUS_HAS_STAGED$z$VCS_STATUS_HAS_UNSTAGED$z$VCS_STATUS_HAS_UNTRACKED\
$z$VCS_STATUS_INDEX_SIZE$z$VCS_STATUS_LOCAL_BRANCH$z$VCS_STATUS_NUM_CONFLICTED\
$z$VCS_STATUS_NUM_STAGED$z$VCS_STATUS_NUM_UNSTAGED$z$VCS_STATUS_NUM_UNTRACKED\
$z$VCS_STATUS_REMOTE_BRANCH$z$VCS_STATUS_REMOTE_NAME$z$VCS_STATUS_REMOTE_URL\
-$z$VCS_STATUS_RESULT$z$VCS_STATUS_STASHES$z$VCS_STATUS_TAG
+$z$VCS_STATUS_RESULT$z$VCS_STATUS_STASHES$z$VCS_STATUS_TAG$VCS_STATUS_NUM_UNSTAGED_DELETED
}
function _p9k_vcs_status_restore() {
@@ -2470,6 +2470,7 @@ function _p9k_vcs_status_restore() {
VCS_STATUS_NUM_CONFLICTED VCS_STATUS_NUM_STAGED VCS_STATUS_NUM_UNSTAGED \
VCS_STATUS_NUM_UNTRACKED VCS_STATUS_REMOTE_BRANCH VCS_STATUS_REMOTE_NAME \
VCS_STATUS_REMOTE_URL VCS_STATUS_RESULT VCS_STATUS_STASHES VCS_STATUS_TAG \
+ VCS_STATUS_NUM_UNSTAGED_DELETED
in "${(@0)1}"; do done
}
@@ -2564,6 +2565,7 @@ function _p9k_vcs_render() {
"$VCS_STATUS_COMMITS_BEHIND"
"$VCS_STATUS_STASHES"
"$VCS_STATUS_TAG"
+ "$VCS_STATUS_NUM_UNSTAGED_DELETED"
)
if [[ $_POWERLEVEL9K_SHOW_CHANGESET == 1 || -z $VCS_STATUS_LOCAL_BRANCH ]]; then
cache_key+=$VCS_STATUS_COMMIT