Cleans a shell-reported terminal title by stripping shell prefixes and extracting the base command name. Returns an empty string for CWD/prompt-style titles (e.g. /home/user/project, user@host:~/path) to signal that the title should not be updated.
/home/user/project
user@host:~/path
Cleans a shell-reported terminal title by stripping shell prefixes and extracting the base command name. Returns an empty string for CWD/prompt-style titles (e.g.
/home/user/project,user@host:~/path) to signal that the title should not be updated.