From 5986a2f844c43bf69f9d29412da887be00fd5be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 3 Feb 2024 23:13:23 +0100 Subject: [PATCH] qsgen2: Color output --- qsgen2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index b6ae170..08300d7 100755 --- a/qsgen2 +++ b/qsgen2 @@ -74,9 +74,9 @@ _list_sites() { touch "${sites_file}" if [[ -f "$sites_file" ]]; then - echo "Registered qsgen2 Sites:" + echo "Registered Sites:" while IFS='|' read -r site_name site_dir; do - printf "%-30s - Directory: %-50s\n" "Site: $site_name" "$site_dir" + printf "%-30s - Directory: %-50s\n" "Site: ${magenta}$site_name${end}" "${blue}$site_dir${end}" done < "$sites_file" else echo "No sites registered."