diff options
author | xero <x@xero.nu> | 2015-01-01 21:17:07 -0500 |
---|---|---|
committer | xero <x@xero.nu> | 2015-01-01 21:17:07 -0500 |
commit | e6f7191cc1a770748805f78766822e603aa18738 (patch) | |
tree | b9e180cc9c31d56ac292283257e2d6e9d576863f /zsh/.zsh/functions | |
parent | 3328c60768c1fa2161bc0b683692e3a50909a1c3 (diff) | |
download | dotfiles_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')
-rw-r--r-- | zsh/.zsh/functions/prompt_git_info | 4 |
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 |