From e9d9dfde71f3e59c31ca17e87720165f6954a328 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Tue, 12 Mar 2024 17:25:47 +0100 Subject: [PATCH] inc_bash: set color presets --- includes/inc_bash.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/includes/inc_bash.sh b/includes/inc_bash.sh index f299e43..636986f 100755 --- a/includes/inc_bash.sh +++ b/includes/inc_bash.sh @@ -103,3 +103,13 @@ function fetchrc(){ } # ---------------------------------------------------------------------- + +# define color presets +# see https://www.axel-hahn.de/docs/bash_colorfunctions/Color_presets.html +COLOR_PRESET_error=("white" "red") +COLOR_PRESET_ok=("green") +COLOR_PRESET_warning=("yellow") + +COLOR_PRESET_cmd=("lightblue") +COLOR_PRESET_head=("yellow") +COLOR_PRESET_input=("green") -- GitLab