Live data from Hacker News

The fish shell is amazing

rmpr.xyz

41–50 of 302 posts

Re: The fish shell is amazing

#41
post #18

Earlier quoted context omitted.

fish never claimed to be POSIX compliant to begin with, so no. There never was an 'extend' step.

But seems to want us to replace the old reliable shell with it (Or this is what I understand). I see a lot of people reinventing the wheel in Linux and trying to appeal the new users. What you have in the end is normally worse than the standard ones. Is just dissecting Linux in a lot of smaller particles and smaller rooms. So thanks, but not thanks. Not to me. Wouldn't be much more practical to use all of those talen…

> Wouldn't be much more practical to use all of those talent and ideas to help to improve the extant bash shell instead?

Yeah, good luck with that.

It's a garbage pile of code that creates an interpreter with piles upon piles of undefined behavior that random scripts out there in the world rely on.

I don't even think it was a working CI setup.

I'd be super glad to be proven wrong, maybe things have changed in the meantime.

Re: The fish shell is amazing

#42
post #16

As another commenter pointed out, while Fish has some nice out-of-the-box features, they’re all achievable in Zsh with a few lines of plugins. And did you know Zsh has a short for loop? Along with fantastic plugins like fzf-tab, I don’t see a reason to use anything else right now. Though, I’m keeping a very interested eye on Nu shell. They’re doing a lot of stuff right, and I expect it will become a very useful scrip…

Thanks for that, fzf-tab was the last missing piece in my setup.

Nice. Yeah it works great. I have an extensive set of git aliases. Yesterday I was merging a branch with `gmn` (`git merge --no-ff`, which is actually an alias to `g mn`, where `g` is an alias to git of course) and it gave me a fuzzy find of my branches through all the aliases.

Edit: also things like `kill`. `kill [tab]` gives you a fuzzy-find list of all your processes so it's way faster to use than ps | grep.

Re: The fish shell is amazing

#43

I started a new job recently, and I've been thinking about terminals and shells. I love a well configured modern env, but I can't be bothered spending the literal HOURS you need to setup everything... zsh, zsh plugins, fzf, fzf plugins, fd, dot bare, patched fonts, 24 bit terminal color, temrinal color theme, binutils color theme, powerline, diff-so-fancy... I get that the devil is in the details, but come on, can I…

I use Powerlevel10k + ohmyzsh + Fira code + and the first google entry to "make zsh like fish". Usually takes me about 10 minutes to get set up in a new environment.

https://gist.github.com/abhigenie92/a907cdf8a474aa6b569ebe89...

Re: The fish shell is amazing

#44
More and more often, I am getting the following error:

Malware and Phishing

This site is blocked because it is a known security threat. Please contact your network administrator to gain access.

My assumption this is because I have Xfinity Business Class and it's blocking the site. But why would I be seeing this so often on a site linked from HN?

Re: The fish shell is amazing

#45

More and more often, I am getting the following error: Malware and Phishing This site is blocked because it is a known security threat. Please contact your network administrator to gain access. My assumption this is because I have Xfinity Business Class and it's blocking the site. But why would I be seeing this so often on a site linked from HN?

maybe the .xyz domain?

Re: The fish shell is amazing

#46
post #11

Fish is good, but most shells pale in comparison to powershell unfortunately.

PowerShell: Maybe the learning curve is steep or something, but the times I've had to use it I disliked it.

I want to like it. It's goals and purposes seem to be in the right place, but....

Nope.

Re: The fish shell is amazing

#48
post #31
post #28

Earlier quoted context omitted.

This is my problem as well. I’ve been using fish for quite a long time, and I’m still frustrated by weird posix incompatibility.

bass can be helpful for some of those posix issues: https://github.com/edc/bass Another random tip: python virtualenv generates a activate.fish script that you should use instead of the plain activate script.

Bass has never worked for me, in any scenario. I'm curious to see how you use it. I have never successfully been able to feed it any bash script. At this point I suspect I'm either holding it wrong or it is a thing that is invoked as a thing that works without ever being used in earnest.

Re: The fish shell is amazing

#49
post #7

I used fish for a couple of years and really liked it. But I recently learned that I can configure ZSH to have all of the same auto-complete and plugins that I loved from fish. Now I have all of the creature comforts I like, with POSIX compliance I found that while fish has better syntax than bash for most things, the hassles with incompatibility or unexpected behavior brought me much more trouble than BASH's syntax…

Came here to say the same. The default zsh config in Kali has some pretty nice autocompletions, which I've borrowed and use on all my other systems.
Post reply on HN