From 85e3ab6994c1cd971226fe9ce19b7f1c8b82d621 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Thu, 25 Aug 2022 15:40:53 +0400 Subject: [PATCH] Change colors of command execution result --- profiles/workspace/zsh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/workspace/zsh/default.nix b/profiles/workspace/zsh/default.nix index 45eb18d..482ec55 100755 --- a/profiles/workspace/zsh/default.nix +++ b/profiles/workspace/zsh/default.nix @@ -91,7 +91,7 @@ cleareol="\e[K" colorreset="\e[1;0m" if [ ! -z "$cmd" ]; then - printf "$bgcolor $cmdstat $retval $colorreset\n" + printf "$fgcolor$cmdstat $retval$colorreset\n" if [[ $cmd_time -gt 3 ]]; then ${pkgs.libnotify}/bin/notify-send -a command_complete -i utilities-terminal -u low "$cmdstat $cmd" "in `date -u -d @$cmd_time +'%T'`" echo -e '\a'