From 676d33e755c1275e68bc72ade2613293cdecaa19 Mon Sep 17 00:00:00 2001 From: Elena Date: Fri, 22 Feb 2019 22:02:33 +0200 Subject: [PATCH] added zsh theme Former-commit-id: a76c07f7092b13d655da3a0bc8d140458d968195 Former-commit-id: f2b919e4011976b149dfd3c8c37bffea9b218f50 Former-commit-id: ca862776f867f6b497182edad421fcd4939b642e Former-commit-id: 02da47119ea7e903cefd0e602c6aafe233a4c5a5 --- lena.zsh-theme | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lena.zsh-theme diff --git a/lena.zsh-theme b/lena.zsh-theme new file mode 100644 index 0000000..8ef87dd --- /dev/null +++ b/lena.zsh-theme @@ -0,0 +1,16 @@ +# Minimal zsh theme +# Requires Nerd Fonts for the icons + +# Configuration +num_dirs=2 # Use 0 for full path +truncated_path="%F{white}%$num_dirs~%f" +decoration="%F{red}%F{magenta}%F{cyan}%f" +background_jobs="%(1j.%F{green} %f.)" +non_zero_return_value="%(0?..%F{yellow} %f)" + +# Left part of prompt +PROMPT='$truncated_path $decoration ' +# Right part of prompt +RPROMPT='$background_jobs $non_zero_return_value' +# Input in bold +zle_highlight=(default:bold)