Live data from Hacker News

Moving to zsh (2019)

scriptingosx.com

1–10 of 45 posts

Re: Moving to zsh (2019)

#2
Good stuff, but, conversely, one may just manually set any user's default shell [1] back to bash, or Bourne, ksh, csh, tcsh, or install and use another as a default shell, such as fish, nsh, nushell, rc, yash, etsh, and so on and so forth.

[1] https://www.howtogeek.com/444596/how-to-change-the-default-s...

Re: Moving to zsh (2019)

#3
I'm a zsh user, but one thing I miss from bash is /dev/tcp redirection.

    ~  echo /dev/tcp/google.com/80
    ~  echo $?
    0
    ~  echo /dev/tcp/localhost/80
    bash: connect: Network is unreachable
    bash: /dev/tcp/localhost/80: Network is unreachable
    ~  echo $?
    1

Re: Moving to zsh (2019)

#4

I'm a zsh user, but one thing I miss from bash is /dev/tcp redirection. ~ echo /dev/tcp/google.com/80 ~ echo $? 0 ~ echo /dev/tcp/localhost/80 bash: connect: Network is unreachable bash: /dev/tcp/localhost/80: Network is unreachable ~ echo $? 1

What about https://zsh.sourceforge.io/Doc/Release/TCP-Function-System.h...?

Re: Moving to zsh (2019)

#5
I've been using bash since the early 90s and I'm now in my 40s so I think at this point I just have to accept that I will never use another shell.

On Macs, the current version of bash can be installed from Homebrew and you can set it as your default shell in the SysPrefs, in Users > Right-click you > Advanced

Re: Moving to zsh (2019)

#7
Bash can do everything zsh can. You just need to know it well enough. There isn't any reason to change default shells to zsh except for licensing concerns by closed-source minded companies.

Re: Moving to zsh (2019)

#10
post #7

Bash can do everything zsh can. You just need to know it well enough. There isn't any reason to change default shells to zsh except for licensing concerns by closed-source minded companies.

Of course it can. And a sufficiently large enough piece of paper and a well-sharpened pencil can do anything a computer can, but I suspect most people will choose to go on using computers.
Post reply on HN