]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
path tool: add some basic ansi highlighing
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2023 16:55:52 +0000 (18:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 28 Jun 2023 19:58:17 +0000 (21:58 +0200)
src/path/path.c

index f7486ec6f880bcffb2b5bd2722d1918385029961..3e022a467aea423215f3708418bc822ee3c65205 100644 (file)
@@ -118,7 +118,7 @@ static int list_homes(void) {
                         continue;
                 }
 
-                printf("%s: %s\n", path_table[i], p);
+                printf("%s%s:%s %s\n", ansi_highlight(), path_table[i], ansi_normal(), p);
         }
 
         return r;