qsgen2: Color output again
This commit is contained in:
parent
5986a2f844
commit
a3f78f1131
2
qsgen2
2
qsgen2
@ -76,7 +76,7 @@ _list_sites() {
|
|||||||
if [[ -f "$sites_file" ]]; then
|
if [[ -f "$sites_file" ]]; then
|
||||||
echo "Registered Sites:"
|
echo "Registered Sites:"
|
||||||
while IFS='|' read -r site_name site_dir; do
|
while IFS='|' read -r site_name site_dir; do
|
||||||
printf "%-30s - Directory: %-50s\n" "Site: ${magenta}$site_name${end}" "${blue}$site_dir${end}"
|
printf "${magenta}%-30s${end} - Directory: ${blue}%-50s${end}\n" "Site: $site_name" "$site_dir"
|
||||||
done < "$sites_file"
|
done < "$sites_file"
|
||||||
else
|
else
|
||||||
echo "No sites registered."
|
echo "No sites registered."
|
||||||
|
Loading…
Reference in New Issue
Block a user