TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Fish 3.4.0

194 pointsby deniswabout 3 years ago

19 comments

thecosmicfrogabout 3 years ago
&gt; fish’s command substitution syntax has been extended: $(cmd) now has the same meaning as (cmd) but it can be used inside double quotes<p>That&#x27;s pretty big news for a more POSIX-like behaviour!
评论 #30734949 未加载
评论 #30734438 未加载
评论 #30734976 未加载
评论 #30737884 未加载
Sugimot0about 3 years ago
I&#x27;ve been using fish for 2 years now and I pretty much live in the terminal. I would feel handicapped without it.<p>Just use fish and use shebangs `#!&#x2F;bin&#x2F;sh` (which should be in your scripts anyways) and you can keep writing&#x2F;running POSIX scripts all day. I think it&#x27;s the best option until nushell[0] is ready.<p>As an added bonus now that you don&#x27;t use bash interactively you can substitute dash[1] and increase the speed of most POSIX scripts, win-win.<p>I&#x27;d also recommend zoxide[2], i feel like it&#x27;s one more must have no matter what you do in the shell.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;nushell&#x2F;nushell" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nushell&#x2F;nushell</a> [1]: <a href="http:&#x2F;&#x2F;gondor.apana.org.au&#x2F;~herbert&#x2F;dash&#x2F;" rel="nofollow">http:&#x2F;&#x2F;gondor.apana.org.au&#x2F;~herbert&#x2F;dash&#x2F;</a> [2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;ajeetdsouza&#x2F;zoxide" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ajeetdsouza&#x2F;zoxide</a>
msoadabout 3 years ago
Fish is so great! I&#x27;m a user for 7 years. The autocomplete suggestions are so helpful!<p>However, since using Github Copilot I&#x27;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.
评论 #30735209 未加载
评论 #30735193 未加载
评论 #30735869 未加载
pkilgoreabout 3 years ago
Any other long-suffering bash user switched to fish and never looked back? Why? Have you switched and ended up coming back to bash? Why?<p>- Long-suffering bash user
评论 #30734703 未加载
评论 #30735569 未加载
评论 #30737605 未加载
评论 #30734810 未加载
评论 #30736951 未加载
评论 #30739647 未加载
评论 #30735190 未加载
评论 #30737594 未加载
评论 #30735810 未加载
评论 #30736911 未加载
kytazoabout 3 years ago
Just 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&#x27;t look like such a valid argument as time passes by
评论 #30734868 未加载
评论 #30739398 未加载
评论 #30734875 未加载
robin_realaabout 3 years ago
Previously discussed: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30660587" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30660587</a>
drcongoabout 3 years ago
I used OhMyZsh for years with the Agnoster power line theme and over the years it got slower and slower. Tried Fish about 6 years ago and immediately spent the rest of the day tweaking an Agnoster theme to my liking because everything about it was better than Zsh and waaaay faster. My fork is here [0] for anyone interested, though the readme and screenshots are from the original.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;drcongo&#x2F;agnoster" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;drcongo&#x2F;agnoster</a>
评论 #30738192 未加载
评论 #30739361 未加载
gcoguiecabout 3 years ago
I feel productive with my Alacritty + Fish (with a starship.rs prompt) setup. I can even swap the shell, and I get the same user experience.<p>It&#x27;s consistent and blazing fast, and that&#x27;s all I ask.
petepeteabout 3 years ago
I&#x27;ve just taken Fish for a test drive and I&#x27;m really impressed. I use the Starship prompt in Zsh and it worked out of the box in Fish. It appears direnv will too (which I rely on).<p>The one thing I can&#x27;t work out is how to change the cursor to a block, it&#x27;s a line. No vi-mode or anything, just a nice rectangle. I tried `set fish_cursor_default block` to no avail.
评论 #30737377 未加载
andrewshaduraabout 3 years ago
Unfortunately, mc has been broken since 3.2.0 IIRC and nobody&#x27;s working on it.
评论 #30737229 未加载
vzalivaabout 3 years ago
What about Oh My Fish <a href="https:&#x2F;&#x2F;github.com&#x2F;oh-my-fish&#x2F;oh-my-fish" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;oh-my-fish&#x2F;oh-my-fish</a> Has it been upgated to support new version?
评论 #30736357 未加载
deagle50about 3 years ago
Does anyone know how to disable the bright red color when you first start typing a word? I find it very distracting (specially on over-saturated wide gamut displays) and went back to zsh because of it.
评论 #30740554 未加载
tartoranabout 3 years ago
I love fish. It helped me get into linux terminal. It really accelerates the learning curve and turbocharges explorability. I wish more TUI types of apps took hints from fish’s UX
lsllcabout 3 years ago
See last weeks discussion:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30660587" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30660587</a>
yewenjieabout 3 years ago
People who have replaced fish with something else (other than bash and zsh) after using it for a significant time, to what and why?
评论 #30736782 未加载
dorianmariefrabout 3 years ago
I wish capistrano would work with fish but I will need to separate the capistrano user and my user on the server anyway
评论 #30739367 未加载
brimstedtabout 3 years ago
Anyone know of a good comparison between the different shells?
评论 #30734884 未加载
评论 #30735606 未加载
DrBenCarsonabout 3 years ago
Wanted to love&#x2F;daily-drive fish but the incompatibility with bash&#x2F;zsh made things more troublesome than I had the time and patience for.<p>Exciting to see it inching toward POSIX compatibility
评论 #30736639 未加载
评论 #30736634 未加载
m1keilabout 3 years ago
&quot;Autosuggestions can now be turned off&quot;<p>Finally. I should give it a try now.