6 ms·
Fish shell 3.7.0 released, the last release branch before the full Rust rewrite
- coliveira 3y ago[flagged]
- screamingninja 3y ago> fish 3.7.0 and any future releases in the 3.7 series remain C++ programs. How would forking this project help? They have not ceased development on C++ side.
- doodlesdev 3y agoWhy do you believe that?
- samtheprogram 3y agoWhy?
- Jaxan 3y agoIt’s being developed in C++, not C
- Arcanum-XIII 3y agoWhy? It's already a C++ program, so C it's out. What would be the point?
- abound 3y ago> Opening the history search in vi mode switches to insert mode correctly (#10141). I didn't realize how much this bothered me, but I got unreasonably happy reading that just now, so there was clearly something there. Little QoL improvements like this are the hallmark of a healthy project.
- fbdab103 3y agoThe PR[0] which has a lot of background on the Rust porting plan. [0] https://github.com/fish-shell/fish-shell/pull/9512 https://github.com/fish-shell/fish-shell/pull/9512
- jyxent 3y agoAnd this discussion from November has an update on the progress: https://github.com/fish-shell/fish-shell/discussions/10123 https://github.com/fish-shell/fish-shell/discussions/10123
- 12_throw_away 3y agoWow, very surprised how quickly they got this done. Looks like it took about a year, total, for the rewrite? Speaks well of their choice to use the Ship of Theseus strategy to port individual parts from C++ to rust, rather than giving into the temptation to do a "full" re-write.
- paradox460 3y agoI do find the history pager stuff interesting, but ultimately not of tremendous use for me. I rebound all my history search stuff to use fzf[1] (via a fish plugin for such[2]), and so haven't been aware of the issues [1] https://github.com/junegunn/fzf https://github.com/junegunn/fzf [2] https://github.com/PatrickF1/fzf.fish https://github.com/PatrickF1/fzf.fish
- bloopernova 3y agoWould anyone care to take the time and explain what Fish does differently to zsh or bash? I like hearing the HN perspective.
- TheAceOfHearts 3y agoIt has a lot of sensible defaults out of the box, and the scripting language is less esoteric than bash. I'd go into more detail but it has honestly been nearly a decade since I switched, so I barely remember. From what I recall, you can setup bash or zsh to do most of the same things, but that requires addons or tweaking configurations. With fish you just get a sensible shell right out of the box.
- nirvdrum 3y agoWriting fish completions is really easy, too. I never bothered when I used Bash, but I write them for various utilities in Fish and it makes the shell more pleasant to use. Several of my custom ones have been supplanted by upstream completions having been added in a subsequent releases.
- foobarian 3y agoHow is history recording in fish? I found that keeping an eternal history tagged with screen session ids is a huge productivity boost in my bash setup and hoping to see if it's feasible in other shells.
- satvikpendem 3y agoAny thoughts on fish as compared to nushell [0]? It's similar to PowerShell in its philosophy and is also written in Rust. [0] https://github.com/nushell/nushell https://github.com/nushell/nushell
- yencabulator 3y agoHere's my experience of spending a part of a day with each: Fish: - customizing or debugging Fish's completion was utter torture; the defaults are horrible like "carTAB" completes to "blkdiscard" when I don't have cargo in PATH - nothing in Fish seems to have a useful `--help`, no useful summaries & quick refreshers, just punt the user to a big verbose man page Nushell: - no job control, no background jobs - error handling is utterly broken - control-C breaks unexpected things, what gets aborted seems up to luck (e.g. aborts the prompt building) - globs inside quotes, `ls "*"` - lots of weird parsing errors & bad edge case behavior
- hammyhavoc 3y agoWhat's your preferred daily driver instead?
- yencabulator 3y agoI'm still on bash. I was really hopeful on nushell until I discovered the error handling & control-C -- before those I thought it was "just" lack of job control, now I'm less enthusiastic about the quality.
- hammyhavoc 3y agoLooks like I'll be staying on Bash! It somewhat amuses me that we don't seem to have done better than it in all these years—but I also take a lot of comfort in that. With that said, it still gets updates! So, it can and is still improved. :- ) Hard to compete with such a mature offering.
- TheFuzzball 3y ago
- dang 3y agoRelated: Fish – Update on the Rust port - https://news.ycombinator.com/item?id=38423908 https://news.ycombinator.com/item?id=38423908 - Nov 2023 (156 comments) Fish – A friendly interactive shell - https://news.ycombinator.com/item?id=37272611 https://news.ycombinator.com/item?id=37272611 - Aug 2023 (162 comments) Many more at https://news.ycombinator.com/item?id=37275922 https://news.ycombinator.com/item?id=37275922
- deleted 3y ago[deleted]