1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-23 00:15:08 +00:00

style: improve code consistency and formatting

- Rename _MOLE_HINTS_DIR to mole_hints_dir (naming convention)
- Split local variable declaration and assignment
- Add ICON_INFO constant to base.sh
- Remove redundant has_cached_sudo function (use has_sudo_session)
This commit is contained in:
tw93
2026-02-26 11:47:41 +08:00
parent 3c3c976b5b
commit 3bd3e400b6
3 changed files with 14 additions and 14 deletions

View File

@@ -41,6 +41,7 @@ readonly ICON_DRY_RUN="→"
readonly ICON_REVIEW="☞"
readonly ICON_NAV_UP="↑"
readonly ICON_NAV_DOWN="↓"
readonly ICON_INFO=""
# ============================================================================
# Global Configuration Constants