From e6f7191cc1a770748805f78766822e603aa18738 Mon Sep 17 00:00:00 2001 From: xero Date: Thu, 1 Jan 2015 21:17:07 -0500 Subject: combine zsh user and root themes and files. install root theme with [sudo stow zsh -t /root] --- zsh/.zsh/functions/prompt_git_info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zsh/.zsh') 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 -- cgit v1.2.1