Expand description
Fast bash detection heuristic.
Runs on every Enter keypress โ zero allocation, no regex, no parsing. Scans raw bytes for bash-specific patterns and triggers.
Functionsยง
- looks_
like_ bash - Quick check: does this string contain bash-specific syntax? This must be FAST โ it runs on every Enter keypress. No regex, no parsing โ just byte-level pattern scanning.