aboutsummaryrefslogtreecommitdiff
path: root/zsh/.zsh/functions/prompt_git_info
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-01-01 21:17:07 -0500
committerxero <x@xero.nu>2015-01-01 21:17:07 -0500
commite6f7191cc1a770748805f78766822e603aa18738 (patch)
treeb9e180cc9c31d56ac292283257e2d6e9d576863f /zsh/.zsh/functions/prompt_git_info
parent3328c60768c1fa2161bc0b683692e3a50909a1c3 (diff)
downloaddotfiles_ascii-e6f7191cc1a770748805f78766822e603aa18738.tar.xz
dotfiles_ascii-e6f7191cc1a770748805f78766822e603aa18738.zip
combine zsh user and root themes and files. install root theme with [sudo stow zsh -t /root]
Diffstat (limited to 'zsh/.zsh/functions/prompt_git_info')
-rw-r--r--zsh/.zsh/functions/prompt_git_info4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/.zsh/functions/prompt_git_info b/zsh/.zsh/functions/prompt_git_info
index d492ac8..d6d3acb 100644
--- a/zsh/.zsh/functions/prompt_git_info
+++ b/zsh/.zsh/functions/prompt_git_info
@@ -1,5 +1,5 @@
if [ -n "$__CURRENT_GIT_BRANCH" ]; then
- local s="%F{cyan}-[%F{white}"
+ local s="${USER_LEVEL}-[%F{white}"
s+="$__CURRENT_GIT_BRANCH"
case "$__CURRENT_GIT_BRANCH_STATUS" in
ahead)
@@ -15,7 +15,7 @@ if [ -n "$__CURRENT_GIT_BRANCH" ]; then
if [ -n "$__CURRENT_GIT_BRANCH_IS_DIRTY" ]; then
s+="⚡"
fi
- s+="%F{cyan}]"
+ s+="${USER_LEVEL}]"
printf "%s%s" $s
fi \ No newline at end of file