From 5273f25a5fec4f5d9d4b5b64c7b0899d211186cd Mon Sep 17 00:00:00 2001 From: ole Date: Thu, 26 May 2022 21:23:37 +0200 Subject: [PATCH] update prompt --- .zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 4c012b0..8b32ace 100644 --- a/.zshrc +++ b/.zshrc @@ -53,7 +53,7 @@ setopt hist_expire_dups_first # delete duplicates first when HISTFILE size excee setopt hist_ignore_dups # ignore duplicated commands history list setopt hist_ignore_space # ignore commands that start with space setopt hist_verify # show command with history expansion to user before running it -#setopt share_history # share command history data +setopt share_history # share command history data # force zsh to show the complete history alias history="history 0" @@ -91,7 +91,8 @@ if [ -n "$force_color_prompt" ]; then fi configure_prompt() { - PROMPT=' %(?.%B%F{blue}🐢.%F{red}?%?)%f %B%F{240}%1~%f%b ' + PROMPT=" 🐢 %F{240}%~%f " + RPROMPT="%T - %?" # prompt_symbol=@ # [ "$EUID" -eq 0 ] && prompt_symbol=@ # case "$PROMPT_ALTERNATIVE" in