Live data from Hacker News

The fish shell is amazing

rmpr.xyz

301–302 of 302 posts

Re: The fish shell is amazing

#301
post #160

Earlier quoted context omitted.

The Fish suggestion the GP is describing isn't based on history, although it also autocompletes from commands in your history that way. That's part of the baseline autocompletion functionality of the whole shell, for all command names, local files, etc.

Expanding on the local file competition: this is even context aware in some cases! If you have four files starting with "A", one of which ends in .gz, typing "gunzip A" will suggest the .gz file. Likewise for things like "git add" - as soon as you type an identifiable prefix to a changed file it will be suggested (eg if you only have one changed file in src/ it will suggest that when you type git add src)

> If you have four files starting with "A", one of which ends in .gz, typing "gunzip A" will suggest the .gz file.

Bash does this for me as well.

Re: The fish shell is amazing

#302
post #102

Earlier quoted context omitted.

Nothing is speedier, easier, or more interactive than Get-Help in Powershell. https://docs.microsoft.com/en-us/powershell/module/microsoft... Using other shells is like living in the stone age. I don't know why people would do that to themselves.

A one liner in bash is an essay in powershell

sure if your TAB key is broken.
Post reply on HN