From 60b99b9fdb3e4522735b8b49d7cae2f31dc2a2f2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 11 Feb 2026 18:42:19 +0000 Subject: [PATCH] fix(.gitignore): add `!lib/` to prevent ignoring project lib directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Python template section of .gitignore includes a `lib/` pattern that was inadvertently ignoring the project's lib/ directory containing console-text-color-themes.sh and parseOpts.sh. Add `!lib/` negation (matching the existing `!bin/` pattern) to ensure the lib directory is properly tracked. Co-authored-by: 李鼎 --- .gitignore | Bin 4454 -> 4460 bytes lib/console-text-color-themes.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a406f26949fb9833d422dbc6e7268e4f93fd4297..6e09f4a3f3a75d714c0e7e344ddf52ba3f948f6e 100644 GIT binary patch delta 24 fcmaE+^hSwWF)1@opGz?(Gf984JipmSYi&UQW|0S5 delta 20 bcmaE(^h}9eF)1@opNng9BEQ~7YePW*NZJM( diff --git a/lib/console-text-color-themes.sh b/lib/console-text-color-themes.sh index 7ffff24d..77301e9b 100755 --- a/lib/console-text-color-themes.sh +++ b/lib/console-text-color-themes.sh @@ -14,7 +14,7 @@ colorEcho() { if [ -t 1 ]; then printf '\e[%sm%s\e[0m\n' "$combination" "$*" else - print '%s\n' "$*" + printf '%s\n' "$*" fi }