The other day in warp I literally couldn't run `ls` because it kept interpreting it as a AI command. I still love warp, but some of the stuff is crazy.
Warp team member here. If you have natural language detection on, you can turn this off in Settings > Agents > Warp Agent > Input by disabling "Autodetect agent prompts in terminal input." Still, I wouldn't expect `ls` to be classified as an AI command... I've seen this when auto-detection is disabled and you're in an agent conversation unexpectedly. Maybe that's the case?
FWIW I use ZSH in Warp daily and never had this problem with ls. Although I have experienced the the agent prediction doing a false positive auto-switch thing a few times.