News for hackers. Stuff that matters.
Re:OpenBSD 7.0 by edgyquant on Thursday October 14, 2021 @12:26PM (#28866399)
I love zsh but it’s history doesn’t segregate based on the tty and it locks up a lot during autocompletion for me (on Ubuntu.)
Re:OpenBSD 7.0 by petre on Friday October 15, 2021 @01:35AM (#28874657)
I'm using it without any plugins and disabled autocompletion anyway, because it just gets in the way irrespective of the shell. Like not completing tar filenames if it doesn't like the extension (tar axvf) even if the file is there. Modren distributions 'helpfully' enable completion by default.

I don't like the fact that you have no way to clear the history buffer if you've accidentally dropped a password at the prompt. Bash has history -c. I don't have shared history enabled, you could unset that and it'll stop segregating.

Anyway, zsh is a lot more versatile and familiar than tcsh for instance, so it's almost always my go to shell on FreeBSD as /bin/sh is quite limited, but also miles ahead of the Debian shell regarding features.

Re:OpenBSD 7.0 by massysett on Thursday October 14, 2021 @03:47PM (#28869054)
This is not typically the default setting in zsh (it is if it’s acting like ksh.) Your distributor has probably “helpfully” set it up this way. man zshoptions and look for “SHARE_HISTORY”.
Re:OpenBSD 7.0 by edgyquant on Sunday October 17, 2021 @02:18PM (#28898494)
It's Ubuntu 18.04 with Oh My Zsh