From fdc40083eb3cd4592dddbdff83cb9b558d59a625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Fri, 23 Jan 2026 01:00:55 +0100 Subject: zsh/prompt_zstyle: add grml preset --- dot_config/zsh/functions/prompt_zstyle_setup | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dot_config/zsh') diff --git a/dot_config/zsh/functions/prompt_zstyle_setup b/dot_config/zsh/functions/prompt_zstyle_setup index 42caf90..1269575 100644 --- a/dot_config/zsh/functions/prompt_zstyle_setup +++ b/dot_config/zsh/functions/prompt_zstyle_setup @@ -62,6 +62,15 @@ prompt_zstyle_preset() { zstyle :prompt:zstyle ps1 \ login ' ' pwd vcsinfo return separator ' ' ;; + grml) + prompt_zstyle_reset + zstyle :prompt:zstyle:parts login '%B%(!.%F{red}.%F{blue})%n%f%b@%m' + zstyle :prompt:zstyle:parts return '%(0?..%F{red}%?%f )' + zstyle :prompt:zstyle:parts vcsinfo \ + '${vcs_info_msg_0_:+ $vcs_info_msg_0_}' + zstyle :prompt:zstyle ps1 \ + return login ' ' pwd vcsinfo ' ' separator ' ' + ;; esac } -- cgit v1.2.3