diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-04-04 14:56:22 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-04-15 14:45:08 -0400 |
commit | a571aa9ef6f3dc2099ee33c5040f8c54776ddece (patch) | |
tree | b38b6656e4fcd225559d0c950fcbae4ff3165372 /color.c | |
parent | 44a2912b831f1c3f75fee82273e235ff78b5cb93 (diff) | |
download | bfs-a571aa9ef6f3dc2099ee33c5040f8c54776ddece.tar.xz |
color: Use three-letter codes for warnings and errors
No reason to potentially conflict with the two-letter codes GNU ls uses.
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -387,8 +387,8 @@ struct colors *parse_colors(const char *ls_colors) { ret |= init_color(colors, "cyn", "01;36", &colors->cyan); ret |= init_color(colors, "wht", "01;37", &colors->white); - ret |= init_color(colors, "wr", "01;33", &colors->warning); - ret |= init_color(colors, "er", "01;31", &colors->error); + ret |= init_color(colors, "wrn", "01;33", &colors->warning); + ret |= init_color(colors, "err", "01;31", &colors->error); // Defaults from man dir_colors |