From 4ec0bfb8f7f7e491cc901a648f1a6a0c8b39eecf Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Mon, 20 Feb 2023 18:18:24 +0900 Subject: [PATCH] cli: rename op "head" color label to "current_operation" FWIW, this change means a boolean "current_operation" keyword will be highlighted even if it's false. --- src/config/colors.toml | 8 ++++---- src/config/templates.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config/colors.toml b/src/config/colors.toml index aaf7e3d78..163a6327f 100644 --- a/src/config/colors.toml +++ b/src/config/colors.toml @@ -53,7 +53,7 @@ "op_log id" = "blue" "op_log user" = "yellow" "op_log time" = "cyan" -"op_log head" = { bold = true } -"op_log head id" = "bright blue" -"op_log head user" = "yellow" # No bright yellow, see comment above -"op_log head time" = "bright cyan" +"op_log current_operation" = { bold = true } +"op_log current_operation id" = "bright blue" +"op_log current_operation user" = "yellow" # No bright yellow, see comment above +"op_log current_operation time" = "bright cyan" diff --git a/src/config/templates.toml b/src/config/templates.toml index 884953997..e964a24cc 100644 --- a/src/config/templates.toml +++ b/src/config/templates.toml @@ -27,7 +27,7 @@ label(if(current_working_copy, "working_copy"), ''' op_log = ''' -label(if(current_operation, "head"), +label(if(current_operation, "current_operation"), separate(" ", id.short(), user,