summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/themes/intheloop.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/oh-my-zsh/themes/intheloop.zsh-theme')
-rw-r--r--zsh/oh-my-zsh/themes/intheloop.zsh-theme23
1 files changed, 23 insertions, 0 deletions
diff --git a/zsh/oh-my-zsh/themes/intheloop.zsh-theme b/zsh/oh-my-zsh/themes/intheloop.zsh-theme
new file mode 100644
index 0000000..7a98db2
--- /dev/null
+++ b/zsh/oh-my-zsh/themes/intheloop.zsh-theme
@@ -0,0 +1,23 @@
+# A multiline prompt with username, hostname, full path, return status, git branch, git dirty status, git remote status
+
+local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}"
+
+local host_color="green"
+if [ -n "$SSH_CLIENT" ]; then
+ local host_color="red"
+fi
+
+PROMPT='
+%{$fg_bold[grey]%}[%{$reset_color%}%{$fg_bold[${host_color}]%}%n@%m%{$reset_color%}%{$fg_bold[grey]%}]%{$reset_color%} %{$fg_bold[blue]%}%10c%{$reset_color%} $(git_prompt_info) $(git_remote_status)
+%{$fg_bold[cyan]%}❯%{$reset_color%} '
+
+
+RPROMPT='${return_status}%{$reset_color%}'
+
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[grey]%}(%{$fg[red]%}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[grey]%}) %{$fg[yellow]%}⚡%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[grey]%})"
+ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE="%{$fg_bold[magenta]%}↓%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE="%{$fg_bold[magenta]%}↑%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_DIVERGED_REMOTE="%{$fg_bold[magenta]%}↕%{$reset_color%}"