d8a10dbba5cff634193a9a957833ad0f395d7a7d
- Author
- Parker McGee <pmcgee@twistingmaze.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/themes/pmcgee.zsh-theme b/themes/pmcgee.zsh-theme
2new file mode 100644
3index 0000000000000000000000000000000000000000..4eb54df5baaf5922c19a801882359de3f737ef27
4--- /dev/null
5+++ b/themes/pmcgee.zsh-theme
6@@ -0,0 +1,16 @@
7+if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="green"; fi
8+
9+PROMPT='
10+%{$fg[$NCOLOR]%}%B%n@%m%b%{$reset_color%} %{$fg[white]%}%B${PWD/#$HOME/~}%b%{$reset_color%}
11+$(git_prompt_info)%(!.#.$) '
12+RPROMPT='[%*]'
13+
14+# git theming
15+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_no_bold[yellow]%}%B"
16+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
17+ZSH_THEME_GIT_PROMPT_CLEAN=""
18+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}*"
19+
20+# LS colors, made with http://geoff.greer.fm/lscolors/
21+export LSCOLORS="Gxfxcxdxbxegedabagacad"