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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Fish shell 2.1

230 点作者 siteshwar超过 11 年前

27 条评论

pooriaazimi超过 11 年前
This is the biggest change:<p>&gt; <a href="http://fishshell.com/release_notes.html" rel="nofollow">http:&#x2F;&#x2F;fishshell.com&#x2F;release_notes.html</a><p>&gt; When tab-completing a file, fish will first attempt prefix matches (foo matches foobar), then substring matches (ooba matches foobar), and lastly subsequence matches (fbr matches foobar). For example, in a directory with files foo1.txt, foo2.txt, foo3.txt…, you can type only the numeric part and hit tab to fill in the rest.<p>This is really brilliant! I always wanted that (without knowing it).
评论 #6626960 未加载
recuter超过 11 年前
With love: I always felt like fish and even zsh are kind of beautiful OCD-induced bouts of counter productivity in the same vain as Dvorak keyboard layouts and Plan 9. We can&#x27;t handle things being messy and imperfect so we solve it by building our own parallel universes.<p>What do you do when you have to use a computer without your customization? Perfect is the enemy of good, worse is better, join us on the dark side, all that jazz. :)<p>Is fish really really REALLY worth it?
评论 #6627206 未加载
评论 #6629026 未加载
评论 #6626947 未加载
评论 #6627102 未加载
评论 #6628048 未加载
评论 #6627872 未加载
评论 #6626993 未加载
评论 #6628032 未加载
评论 #6629963 未加载
评论 #6626977 未加载
评论 #6629799 未加载
评论 #6628009 未加载
评论 #6628986 未加载
评论 #6627764 未加载
评论 #6626943 未加载
评论 #6629085 未加载
评论 #6630943 未加载
leokun超过 11 年前
I like the idea of fish, but I&#x27;ve had issues with other programs assuming things about my shell. Like vim and I think even other programs. There&#x27;s something fish doesn&#x27;t do, that other shells like bash and zsh do, that breaks other programs. I can&#x27;t remember the specifics, but fish breaks stuff for me when I tried it, and I tried it pretty recently.
评论 #6626938 未加载
评论 #6626926 未加载
评论 #6626754 未加载
评论 #6626770 未加载
评论 #6626755 未加载
评论 #6631456 未加载
评论 #6626793 未加载
js2超过 11 年前
I tried fish for a while but found it jarring switching between it and bash when working on remote machines where fish is not installed. I was also surprised when I first started using fish that it can&#x27;t synchronize history between shell instances, which is a killer feature for me. So after about a month with fish I&#x27;ve switched to zsh.<p><a href="https://github.com/fish-shell/fish-shell/issues/825" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fish-shell&#x2F;fish-shell&#x2F;issues&#x2F;825</a><p><a href="http://ptspts.blogspot.com/2011/03/how-to-automatically-synchronize-shell.html" rel="nofollow">http:&#x2F;&#x2F;ptspts.blogspot.com&#x2F;2011&#x2F;03&#x2F;how-to-automatically-sync...</a>
评论 #6627507 未加载
评论 #6627039 未加载
talles超过 11 年前
<a href="http://fishshell.com/release_notes.html" rel="nofollow">http:&#x2F;&#x2F;fishshell.com&#x2F;release_notes.html</a>
GhotiFish超过 11 年前
<p><pre><code> &quot;Previously, a single % would pid-expand to either all backgrounded jobs, or all jobs owned by your user. Now it expands to the last job backgrounded. If no job is in the background, it will fail to expand. In particular, fg % can be used to put the most recent background job in the foreground.&quot; </code></pre> oh! Can fish background tasks now? I haven&#x27;t being following very closely, I really should update my shell.
评论 #6627751 未加载
评论 #6627688 未加载
err4nt超过 11 年前
I just re-installed Fish this morning. One of the first things I install when I have a fresh install on a workstation :D<p>The thing I appreciate most about fish is the clever suggestions from my shell history - the simplest things can be the biggest time-savers when it comes to entering obscure commands a few weeks apart (I don&#x27;t have to look them up each time I do it now)
iagooar超过 11 年前
I&#x27;ve been using Fish for a year now, it&#x27;s really amazing. Not going back to bash or even zsh.<p>The only problem I had was getting all vim plugins to work with it, but then I discovered that you can set the shell vim shall use in .vimrc (I set it to sh) and now everything works like a charm.<p>BTW, I&#x27;m loving the fuzzy autocompletion, it&#x27;s truly a &quot;killing feature&quot;.
golergka超过 11 年前
Installing fish instead of bash was the biggest single productivity improvement that I&#x27;ve ever done. Thanks for your work!
评论 #6627177 未加载
ramigb超过 11 年前
I just had an argument with some folks around Bash vs Fish, my argument was as simple as &quot;i like it&quot;, their was &quot;you won&#x27;t learn anything, fish sucks, you can do anything it does with a modded bash&quot; ... but that&#x27;s the point, i don&#x27;t want to modify and configure, i want it to work out of the box.
评论 #6632840 未加载
评论 #6627714 未加载
growt超过 11 年前
Can anyone tell me if there is a substitute for history expansions such as &quot;sudo !!&quot; or &quot;vi !$&quot; ?
评论 #6692330 未加载
评论 #6627653 未加载
评论 #6630455 未加载
SmileyKeith超过 11 年前
Maybe it&#x27;s just because I really like to customize my shell, but I can&#x27;t stand the philosophy of fish [1]. The relevant part: &quot;Configurability is the root of all evil.&quot; I can almost agree with this on many user facing consumer applications but a shell is so far from that.<p>[1]: <a href="http://ridiculousfish.com/shell/user_doc/html/design.html#conf" rel="nofollow">http:&#x2F;&#x2F;ridiculousfish.com&#x2F;shell&#x2F;user_doc&#x2F;html&#x2F;design.html#co...</a>
评论 #6627632 未加载
Osmium超过 11 年前
I installed 2.1 via homebrew and now, every time I open a new terminal window, I get:<p><pre><code> bind: Key with name &#x27;dc&#x27; does not have any mapping bind: Key with name &#x27;ppage&#x27; does not have any mapping bind: Key with name &#x27;npage&#x27; does not have any mapping </code></pre> Does anybody have any idea what causes this &#x2F; how to fix it?
评论 #6628150 未加载
izietto超过 11 年前
Thank you for your wonderful shell!!! I feel the lack of official distro packages (though the fish shell repository works fine)
评论 #6626867 未加载
评论 #6626824 未加载
SnowLprd超过 11 年前
For those who want to give fish a spin, it might be worth checking out the guide I wrote on the topic:<p><a href="http://hackercodex.com/guide/install-fish-shell-mac-ubuntu/" rel="nofollow">http:&#x2F;&#x2F;hackercodex.com&#x2F;guide&#x2F;install-fish-shell-mac-ubuntu&#x2F;</a><p>I&#x27;ll soon have it updated for fish 2.1.0, Mavericks, and the new PPA locations.
spindritf超过 11 年前
They also have a PPA now[1]. I&#x27;m pretty sure I looked a few months ago, when 2.0 hit, and it wasn&#x27;t available.<p>[1] <a href="http://fishshell.com/files/2.1.0/linux/index.html#dl-ubuntu12.04" rel="nofollow">http:&#x2F;&#x2F;fishshell.com&#x2F;files&#x2F;2.1.0&#x2F;linux&#x2F;index.html#dl-ubuntu1...</a>
评论 #6632822 未加载
imd23超过 11 年前
I&#x27;ve been using it as my default shell. It simply rocks. It&#x27;s my best hack friend tool. :)
vhost-超过 11 年前
As a systems engineer, I&#x27;m stuck using (mostly) vanilla bash. I&#x27;d love to dabble in fish or zsh, but anytime I start it becomes a waste of time.<p>Upside is I know bash ins and outs :). I&#x27;m usually the one-liner wizard of the office.
patrickg超过 11 年前
I have used fish for a few months and I really liked it. I switched back to bash eventually because of a simple fact that esc-. didn&#x27;t work in fish (which I use really often). If fish provides it, I will go back to fish.
评论 #6627865 未加载
allyant超过 11 年前
I am currently running fish version 2.0.0 (Love it btw!) - does anyone know if there is a way to manually self update to 2.1? Or do I need to reinstall the package.
评论 #6626912 未加载
评论 #6627699 未加载
ProNihilist超过 11 年前
Even after doing the &quot;type this to fix weird console ouput&quot; I still have weird console output :(
评论 #6632803 未加载
yeukhon超过 11 年前
Can you split windows in fish shell? Or is that the job of an terminal emulator, not the job of a shell?
评论 #6627942 未加载
评论 #6627426 未加载
andrewvc超过 11 年前
Love fish, been using it for a couple years now, haven&#x27;t looked back!
Tarang超过 11 年前
I really love fish, is there any way to use fish over ssh?
评论 #6627812 未加载
JSno超过 11 年前
The great thing is, author provided all platform installer. Ubuntu, Debian, Centos, Fedora, even readhat 5,6 and so on. So great for people lazy to compile by themselves for trying little software. Good job! I up-voted you!
derleth超过 11 年前
It would be nice if I could find a non-OSX download on that page.
评论 #6632761 未加载
JSno超过 11 年前
can anybody tell me why this Fish shell shows some files by adding &quot;*&quot; at the end of it?
评论 #6632748 未加载