summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-12-09 16:12:16 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-12-09 16:12:16 +0300
commit90238d8df8d0b1e436b7d06add965ea87bfad2f3 (patch)
tree634b0b409a2e7128e98ecc00498e02e9e74a5a99 /config/p10k-lean.zsh
parent345d0644a9c1a242ff131bde915bbe234c3dd745 (diff)
parent3c54e091f04d21a8b2db95d2a1eb6752ad56b0a0 (diff)
Merge branch 'alexjurkiewicz-git-commit'
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 87c40923..d58cefe2 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -385,6 +385,9 @@
res+="${meta}:${clean}${(V)VCS_STATUS_REMOTE_BRANCH//\%/%%}" # escape %
fi
+ # Show the git commit
+ # res+=" (${VCS_STATUS_COMMIT:0:5})"
+
# ⇣42 if behind the remote.
(( VCS_STATUS_COMMITS_BEHIND )) && res+=" ${clean}⇣${VCS_STATUS_COMMITS_BEHIND}"
# ⇡42 if ahead of the remote; no leading space if also behind the remote: ⇣42⇡42.