aboutsummaryrefslogtreecommitdiff
path: root/zsh-root/.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-root/.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-root/.zsh/functions/prompt_git_info')
-rw-r--r--zsh-root/.zsh/functions/prompt_git_info21
1 files changed, 0 insertions, 21 deletions
diff --git a/zsh-root/.zsh/functions/prompt_git_info b/zsh-root/.zsh/functions/prompt_git_info
deleted file mode 100644
index d492ac8..0000000
--- a/zsh-root/.zsh/functions/prompt_git_info
+++ /dev/null
@@ -1,21 +0,0 @@
-if [ -n "$__CURRENT_GIT_BRANCH" ]; then
- local s="%F{cyan}-[%F{white}"
- s+="$__CURRENT_GIT_BRANCH"
- case "$__CURRENT_GIT_BRANCH_STATUS" in
- ahead)
- s+="↑"
- ;;
- diverged)
- s+="↕"
- ;;
- behind)
- s+="↓"
- ;;
- esac
- if [ -n "$__CURRENT_GIT_BRANCH_IS_DIRTY" ]; then
- s+="⚡"
- fi
- s+="%F{cyan}]"
-
- printf "%s%s" $s
-fi \ No newline at end of file