From 41d6767d43e86f9cf8819df4923b4d28c5a99cf7 Mon Sep 17 00:00:00 2001 From: Owen Stranathan Date: Sun, 11 Aug 2019 23:54:28 -0400 Subject: [PATCH] initial commit --- owiewestside.zsh-theme | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 owiewestside.zsh-theme diff --git a/owiewestside.zsh-theme b/owiewestside.zsh-theme new file mode 100644 index 0000000..27acd44 --- /dev/null +++ b/owiewestside.zsh-theme @@ -0,0 +1,12 @@ +function virtualenv_info { + [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`')' +} + + +local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" +PROMPT='${ret_status}%{$fg[white]%}$(virtualenv_info)%{$fg[yellow]%}$(whoami)@$(hostname):%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"