From 7e8cc7201949ad75daca5520c57479229711ed31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 4 Apr 2022 15:54:26 +0200 Subject: Add flake.nix --- zshrc.d/prompt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zshrc.d/prompt') diff --git a/zshrc.d/prompt b/zshrc.d/prompt index 08e7ad1..72cbf44 100644 --- a/zshrc.d/prompt +++ b/zshrc.d/prompt @@ -1,5 +1,8 @@ # vim: ft=zsh +# Disable default prompt +command -v prompt >/dev/null && prompt off + [ $UID -eq 0 ] && NCOLOR="red" || NCOLOR="green" PROMPT="%(?..%{$fg_bold[yellow]%}EXIT: %? )%{$fg_bold[$NCOLOR]%}%n@%m:%{$fg_bold[blue]%}%1~%{$fg_bold[$NCOLOR]%}%(!.#.$)%{$reset_color%} " -- cgit v1.2.3