Hacker News new | past | comments | ask | show | jobs | submit
Try being on linux and using zsh, it constantly fucks up scripts. Having it run commands via SSH into a windows machine is even more a comedy of errors.

I have to put in every claude.md that the shell is zsh. It's reached the point of annoyance I might just go back to bash.

> It's reached the point of annoyance I might just go back to bash.

You can use zsh as the default shell and still write your scripts for bash. Actually, it’s an advice I saw more than a couple of times. Otherwise you need to translate the bash-isms when you get bits of code from random places on the Internet.

Just put the right shebang (or ask Claude to do it). What’s the problem?

I find that Claude does this much more than other models. GPT, for instance, knows I'm on Windows running PowerShell, and writes very idiomatic PowerShell.

But maybe that's because I'm the sucker, and since PowerShell is more verbose it costs me more tokens than the terseness of Unix shells. Oh well.

Some models are better than others. But it's all fixable with a relatively small skill. Try PowerShell Windows Skill perhaps.
Just run your llm in a container with the tools it needs. It makes your pc more secure by removing the risk of doing something destructive to your computer and the llm can do llm. Also, llms ssh'ing to the outside world? Asking for trouble later on