Fish is so great! I'm a user for 7 years. The autocomplete suggestions are so helpful! However, since using Github Copilot I'm expecting a bit smarter suggestions. I wonder if anyone has tried putting a GPT-3 like engine behind command line autocomplete suggestions. Or maybe the Copilot team offer a sort of API for this.
Fish 3.4.0
31–40 of 93 posts
Re: Fish 3.4.0
#32Just loving every single bit of it since I switched to it. Had a couple of thoughts of migrating to zsh mostly because its more POSIX compliant but it doesn't look like such a valid argument as time passes by
My company has default shell as zsh so every tool assumes that. How can I switch to fish in such an environment?
`#! /usr/bin/env zsh`
Re: Fish 3.4.0
#33Fish is so great! I'm a user for 7 years. The autocomplete suggestions are so helpful! However, since using Github Copilot I'm expecting a bit smarter suggestions. I wonder if anyone has tried putting a GPT-3 like engine behind command line autocomplete suggestions. Or maybe the Copilot team offer a sort of API for this.
Not GPT-3, but you may be interested in this: https://github.com/cantino/mcfly
Re: Fish 3.4.0
#34Earlier quoted context omitted.
> Always recommend people to use fish if they're not the "customize everything everywhere to my liking" type. Fully agree. It feels like fish is the Apple of shells, in that regard. Unless you really love to tinker with your shell, the great defaults and great UX make it really easy to recommend.
Is Fish difficult to customize? Just curious since I do tend to customize everything to some degree to fit my personal prefs.
Re: Fish 3.4.0
#35Earlier quoted context omitted.
> Always recommend people to use fish if they're not the "customize everything everywhere to my liking" type. Fully agree. It feels like fish is the Apple of shells, in that regard. Unless you really love to tinker with your shell, the great defaults and great UX make it really easy to recommend.
I find myself customizing fish way more than I ever did with Bash. Writing custom completions is easy and I find the scripting syntax a lot nicer. Combining the two is really powerful. Granted, fish ships with a ton of completions out of the box so you may not need to write your own.
Re: Fish 3.4.0
#36Earlier quoted context omitted.
Not GPT-3, but you may be interested in this: https://github.com/cantino/mcfly
Anybody on HN who's using this and wants to share their experience? It looks interesting, how does it compare against fish?
https://news.ycombinator.com/item?id=18593015 https://news.ycombinator.com/item?id=23758138
Re: Fish 3.4.0
#37Any other long-suffering bash user switched to fish and never looked back? Why? Have you switched and ended up coming back to bash? Why? - Long-suffering bash user
I have used fish for so many years I have lost track. Maybe 10 years. Occasionally I need bash and then I just launch a bash shell. But I have gotten fish to work with pretty much everything I need without problems whether prompts or Python environments. Fish excels as an everyday interactive shell. I never program shell scripts. I write Julia code whenever something equivalent of a shell script is needed. Before tha…
Re: Fish 3.4.0
#38Any other long-suffering bash user switched to fish and never looked back? Why? Have you switched and ended up coming back to bash? Why? - Long-suffering bash user
Fish is nice in many ways, but it kinda lives up to its "A command line for the 90's" slogan. It's better than what came before it, but I'm not sure it's better enough. Using a non-POSIX shell can feel like death by 1000 cuts sometimes, and I wasn't sure the benefits of Fish were worth the cost. Also, scripting feels like a bit of an afterthought in Fish and that's a very important part of a shell to me.
These days I'm feeling optimistic about Nushell; it's not quite ready for most people to use as a daily driver, but it's getting there and it has a much stronger value proposition than Fish.
Re: Fish 3.4.0
#39Anyone know of a good comparison between the different shells?
Writing scripts: #!/usr/bin/env bash (or #!/usr/bin/env sh for POSIX-compliance)
Use fish for interactive shell. It's faster than zsh
Zsh seem to have more plugins
Re: Fish 3.4.0
#40Earlier quoted context omitted.
My company has default shell as zsh so every tool assumes that. How can I switch to fish in such an environment?
You can execute zsh scripts from a fish command line, or any other. Where is the problem?
A workaround is launching it from .bashrc/.zshrc or terminal. https://wiki.archlinux.org/title/Fish#Setting_fish_as_intera...