Live data from Hacker News

Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

news.ycombinator.com

11–20 of 146 posts

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#11
post #4

Bit of a strange one maybe but for my windows machine I've actually been using cmder (conEmu) with ZSH and over the past few years have been extending it with plugins to suit just right. It's super fast supports everything I need now and couldn't work without it.

Correct me if I'm wrong, but cmder is a terminal emulator not a shell.

Beside this cmder is really great, but recently I switched to MS's own Terminal, which is maybe even better in my opinion. Especially the integrations with wsl2.

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#12
I would probably turn that around and ask why are you asking?

Outside of command line editing features, some kind of completion, novelties, and prettiness, I think most of the time it always comes back to "I chose this shell due to syntax, or programming of some kind". e.g. tcsh due to the C-ness of it.

I am writing this from Linux, been using csh on Solaris and then bash on linux since, well since back then... I have seen a lot of shells come out, but every time I switch to one I think about my personal needs in the shell and portability (I do manage a large number of boxes, and most of them do not have extra items installed, including shells) so I end up back at bash/dash/sh.

Again, I would ask myself what you need in the shell. If ZSH or Fish or csh or ksh or some esoteric shell fit the bill, why not just try it as a daily driver? I mean, what is the worst possible outcome? (unless you make a living making life support shell driven software...)

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#14
oh-my-zsh on Linux is absolutely great, especially with autosuggestions and syntax-highlighting enabled.

On Windows I've settled with Windows Terminal and clink.

I've tried Powershell too but never got used to it. The concept where everything is an object sounds great. But in practice, to me it only is when scripting. When doing interactive work on the command line (which is what I do all day), as a human, nothing beats plain text for me. Enlighten me if this I missed the point of Powershell.

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#15
post #14

oh-my-zsh on Linux is absolutely great, especially with autosuggestions and syntax-highlighting enabled. On Windows I've settled with Windows Terminal and clink. I've tried Powershell too but never got used to it. The concept where everything is an object sounds great. But in practice, to me it only is when scripting. When doing interactive work on the command line (which is what I do all day), as a human, nothing be…

> Enlighten me if this I missed the point of Powershell.

Plain-text has gotten annoying to me now (having to shell out to grep, cut, and awk is very meh).

What's your pain point when trying to use powershell?

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#16
I am a fish fan… but even fish has some difficulties, as many scripts and tools in the wild expect a bash-compatible shell. Otherwise, it is excellent and I use it on my computers 100% of time.

I guess other alternative shells like nu have about the same level of usability. If you like them, you can use them.

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#17
I use `fish` as my main shell. It's closer to POSIX than eshell or oil, but it's definitely not POSIX.

Personally, the main thing I like about it is that I can't copy paste bash commands. It forces me to read and understand and then convert. It also has some quality of life stuff I really like. I think next time I'm just going to go back to ZSH though as I feel I have learnt enough from the experience of using it that I'm no longer getting new things out of it, and I don't script in fish enough for the nicer syntax to be beneficial enough for me. Honestly, I prefer ZSH variables over fish variables too

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#18
I am still kinda bitter about mac os replacing the default bash with zsh. I gained nothing from that unwanted update, but got compatibility pains suddenly.

Is something is more complicated than a one-liner, use a real programming language instead, with proper building blocks, tooling and documentation. Use something like Go to crosscompile if you don't want to depend on something on the host machine.

In my experience, even very trivial short shell scripts over time tend to grow into a pain, that could totally be avoided when using a real language instead.

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#19
post #7

I'm a Linux native guy and I haven't hardly touched Windows in years but I still find myself curious about PowerShell. Is PowerShell even remotely suitable as a Linux shell? Is there any hope for PowerShell on Linux, it's an interesting take on shells.

nushell has a similar philosophy to PowerShell but without the strange command names. PowerShell is probably tied too deeply to Windows and .NET to be suitable as a Linux shell

Re: Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?

#20

I would probably turn that around and ask why are you asking? Outside of command line editing features, some kind of completion, novelties, and prettiness, I think most of the time it always comes back to "I chose this shell due to syntax, or programming of some kind". e.g. tcsh due to the C-ness of it. I am writing this from Linux, been using csh on Solaris and then bash on linux since, well since back then... I hav…

I use zsh, but even zsh is a bit long in the tooth.

I'm especially interested in daily interactive use.

I tried fish but it's a bit tricky in some contexts.

Powershell is a bit too alien in *NIX-land, even though I really like it's concepts.

nushell looks quite promising but it's still pre-1.0.

Post reply on HN