HF RL Explorer

Task: Fix a Broken Shell Caused by a Complex Git Branch Name

Task: Fix a Broken Shell Caused by a Complex Git Branch Name: a task in Terminal-Lego-15k (Harbor dataset). This caused the shell to malfunction. The unescaped () in the branch name was interpreted by Zsh as a function definition, effectively defining a shell function that overrides normal command…

The task

This caused the shell to malfunction. The unescaped `()` in the branch name was interpreted by Zsh as a function definition, effectively defining a shell function that overrides normal command behavior. Now every Git command (and potentially other commands) produces errors like:

Part of PrimeIntellect/Terminal-Lego-15k.