-
Introduced
ct -cfor environment-wide command name collision analysis -
Scans:
- aliases
- functions
- builtins
- keywords
- external
$PATHcommands (presence-only detection)
-
Reports resolution hierarchy (what wins in Bash precedence order)
-
Detects shadowing relationships across all categories
-
External binaries are reported as:
external(shadowed)
-
No full
$PATHresolution is performed in-cmode (intentional simplification) -
Reduces:
- output noise
- false positives from PATH ordering ambiguity
- runtime overhead in large environments
- Conflict mode reports name collisions only
- Trace mode remains responsible for full resolution + filesystem inspection
-
fixed
namerefusage for cleaner internal references -
Reduced reliance on global variables
-
_ct_resolveoptimized for reuse in both trace and conflict modes- now caches
compgenresults - reduces repeated shell calls
- improved performance for
-cmode in large environments
- now caches
- Json output-fixed boolean output for posix detection
- Posix mode detection and rule set added
- Public release
- refinements... multiple sections rewritten
- major refactor
- moved to its own script...
- Original was a flaged mode in another script
- only detected commands and displayed $PATH shadowing