aboutsummaryrefslogtreecommitdiff
path: root/modules/zsh/themes/stefan.zsh-theme
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-03-05 15:05:06 -0500
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-03-05 15:05:06 -0500
commitd345455cc91df176b2b1ec7d50e67967c3f18c0c (patch)
tree42630111a87f0e7a16166e89ecb7d11e44850ed3 /modules/zsh/themes/stefan.zsh-theme
parent26c2673b6923a1906c8c4cfcf70bd4c79916e417 (diff)
downloadhome-d345455cc91df176b2b1ec7d50e67967c3f18c0c.tar.gz
more improvements to service management
Diffstat (limited to 'modules/zsh/themes/stefan.zsh-theme')
-rw-r--r--modules/zsh/themes/stefan.zsh-theme9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/zsh/themes/stefan.zsh-theme b/modules/zsh/themes/stefan.zsh-theme
new file mode 100644
index 0000000..4d71d9c
--- /dev/null
+++ b/modules/zsh/themes/stefan.zsh-theme
@@ -0,0 +1,9 @@
+function virtualenv_info {
+ [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
+}
+
+NEWLINE=$'\n'
+PROMPT="%F{magenta}%~% %f% %F{yellow}% ${NEWLINE}λ %b%f%"
+RPROMPT='$(virtualenv_info)% $(git_prompt_info)'
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"