From 6f636d6e4176d893b4641ca00b4d76905a839a8a Mon Sep 17 00:00:00 2001 From: mini2024 Date: Tue, 11 Mar 2025 22:39:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=AB=E5=90=8D=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=BE=93=E5=87=BA=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整别名配置完成后的控制台输出 - 分步骤显示配置生效的指令 - 保持原有的黄色输出风格 --- 1.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/1.sh b/1.sh index 8b58250..12c68d7 100644 --- a/1.sh +++ b/1.sh @@ -94,7 +94,9 @@ alias dup='docker compose up --remove-orphans' alias dps='docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Size}}"' EOF - print_yellow "别名配置已完成,请执行 source /root/.bashrc 使配置生效" + print_yellow "别名配置已完成" + print_yellow "请执行以下命令使配置生效:" + print_yellow "source /root/.bashrc" } modify_authorized_keys