TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Fish Shell 3.5.0

160 点作者 phillco将近 3 年前

13 条评论

pvg将近 3 年前
A whole recent kettle of them:<p>3 months ago, 90 comments <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30734072" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30734072</a><p>3 months ago, 20 comments <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><p>7 months ago, 291 comments <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29341390" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29341390</a>
azinman2将近 3 年前
&gt; ampersand-nobg-in-token, which means that &amp; will not create a background job if it occurs in the middle of a word. For example, echo foo&amp;bar will print “foo&amp;bar” instead of running echo foo in the background and then starting bar as a second job.<p>Yes! This has been annoying with curl for a long time.
评论 #31769291 未加载
jacobsenscott将近 3 年前
Fish is fantastic. Some people worry about posix compatibility and stuff, but that only matters if you are copy pasting bash snippets directly to the command line. If you are using bash or zsh as a programming language then you put the code in a file, and run it with that shell - so it doesn&#x27;t matter what shell you are running.<p>If you love bash or zsh, and are in the habit of building long complex commands on the command line, then stick with bash or zsh. But if you are just running commands fish is far superior. If you are not a bash&#x2F;zsh&#x2F;posix expert fish is a cleaner language and you&#x27;ll learn it more easily. A fully tricked out zsh might do everything that fish does, but it is very slow compared to fish.
评论 #31773906 未加载
assbuttbuttass将近 3 年前
&gt; Added completions for:<p>&gt; archlinux-java (#8911)<p>&gt; apk (#8951)<p>&gt; brightnessctl (#8758)<p>&gt; efibootmgr (#9010)<p>&gt; fastboot (#8904)<p>&gt; optimus-manager (#8913)<p>&gt; rclone (#8819)<p>&gt; sops (#8821)<p>&gt; tuned-adm (#8760)<p>&gt; wg-quick (#8687)<p>One of my favorite things about fish is that it bundles completions for a huge number of packages. My experience with bash was that completion support was very spotty
评论 #31768991 未加载
losvedir将近 3 年前
Great! Love the new Astronaut prompt. I dabbled with starship.rs, and really liked the prompt, but ultimately didn&#x27;t want to deal with an extra moving part in my terminal setup. I&#x27;m so happy that some of it is available in stock fish shell, now.
ciguy将近 3 年前
I really love fish and used it daily for many years. Then I started work at a new company that had an existing library of internal shell tools that weren&#x27;t compatible with Fish and the effort to port them was too much.<p>I found that ZSH managed with OhMyZSH plugins gets me similar functionality without the syntax incompatibilities. Unfortunately unless Fish moves back towards compatibility I don&#x27;t see myself ever going back, it&#x27;s just too much hassle dealing with little syntax issues all the time.
评论 #31769073 未加载
评论 #31771577 未加载
评论 #31769094 未加载
nikivi将近 3 年前
Been meaning to move fully to Fish, was just dreading the amount of zsh functions I&#x27;d have to rewrite.<p>Is there any reason to use Zsh at this point over Fish?
评论 #31768772 未加载
评论 #31768560 未加载
评论 #31768794 未加载
评论 #31769304 未加载
评论 #31768564 未加载
评论 #31769240 未加载
评论 #31770638 未加载
评论 #31768734 未加载
alexpw将近 3 年前
This killed all shell interaction within my tmux setup, somehow, and I had to downgrade in osx&#x2F;brew [1] back to v3.4.1 [2]. I&#x27;m still wondering what part of my (probably outdated) tmux config caused it, but the most suspicious part is the run-shell&#x2F;if-shell stuff.<p>Anyway, have things to do before I can try again and dig in. Thought I&#x27;d post in case someone else ran into this.<p>[Edit] Tip: swap to a different shell before uninstalling your current shell. Sigh...lol<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;fish-shell&#x2F;fish-shell&#x2F;issues&#x2F;5497" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fish-shell&#x2F;fish-shell&#x2F;issues&#x2F;5497</a> [2] <a href="https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;Homebrew&#x2F;homebrew-core&#x2F;ad5d542a28f634a9b65a5a7f6dbacab335aff92d&#x2F;Formula&#x2F;fish.rb" rel="nofollow">https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;Homebrew&#x2F;homebrew-core&#x2F;ad5...</a>
评论 #31770220 未加载
评论 #31772390 未加载
评论 #31769547 未加载
garlicrouted将近 3 年前
If I&#x27;m not a &quot;power user&quot; (learned rudimentary bash as teenager, stuck with it on MacOS through college) is it worth it to learn a new shell?<p>I respect the craftmanship, but if I&#x27;m more of a &quot;software carpenter&quot; why should I invest the time?
评论 #31769440 未加载
评论 #31769376 未加载
评论 #31773997 未加载
评论 #31769548 未加载
评论 #31769535 未加载
评论 #31769988 未加载
hit8run将近 3 年前
I&#x27;m running fish for at least 8 years now and I&#x27;m very happy with the out of the box experience. It&#x27;s one of the first things I install on new machines.
Night_Thastus将近 3 年前
I love fish, it&#x27;s become my main daily driver. :)
butterfly771将近 3 年前
I used to like fish, but because of compatibility issues, I went back to OMZ (:
评论 #31769451 未加载
ogogmad将近 3 年前
Does process substitution work correctly yet?
评论 #31768964 未加载