Live data from Hacker News

Launch HN: Fig (YC S20) – Autocomplete for the Terminal

fig.io

191–200 of 390 posts

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#191
post #80

Nice website, but I wouldn't switch to this from Fish/Zsh on account of: 1. Cannot identify any killer features above what I already have with forever free tools with much larger support communities. 2. Less trust in you as a YC startup. What if you fail? What if you sell out? 3. Requirement of email. 4. Telemetry and privacy concerns raised by others. 5. Not available for Linux, and I get the feeling that Linux woul…

Can you suggest some tools which auto suggest like Fig and work with zsh? The built in auto complete in zsh works nicely, but how do I get the drop down of all options?

Each needs to define an autocomplete script. oh-my-zsh provides plugins that do that for common tools like git.

Those scripts are usually supplied by the CLI tool itself. For example for terraform: https://www.terraform.io/docs/cli/commands/index.html#shell-...

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#192
post #128

Earlier quoted context omitted.

You can stop at #1. Why do I need this when oh-my-zsh exists?

which oh-my-zsh plugins do you use that can do this? Is there an all-encompassing one or do you need to download tons of different ones like a docker plugin, git plugin, etc

But I think it will be the same with Fig. They will take the autocomplete scripts from the vendors and integrate them with Fig.

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#193
How did a startup with such an obvious idea get started in 2020?

Was some API added to Mac recently that made it possible? Has the software market gotten large enough to support more niche products? Or just no one did it before?

I find it positive, comforting even; it suggests that the space of viable startup ideas is really vast.

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#194
post #128

Earlier quoted context omitted.

You can stop at #1. Why do I need this when oh-my-zsh exists?

which oh-my-zsh plugins do you use that can do this? Is there an all-encompassing one or do you need to download tons of different ones like a docker plugin, git plugin, etc

I’ve been using grml’s zsh config [1] for years. It’s one file, I’ve never installed a single plugin, and it’s been doing a lot. Couple of examples:

- When I auto-complete a path, the shell prints all options and I can navigate between them with either tab or arrow keys

- For many tools, like git, auto-completion shows an annotated list of possible options/subcommands (and again, you can navigate them with tab or arrow keys)

- If I type something like chmod 644 and then start auto-completing the filename, the suggestions exclude every file that is already 644.

Also, there is a format to add auto-complete information for more tools. I’ve never actively used it, though, and I don’t know if it’s been adopted by any other shell/tool. I don’t even know if it’s specific to zsh or to grml’s config or to something else entirely. It has just stayed out of my way, while greatly facilitating my shell usage.

As a last point, none of these examples have been added recently. They have all been there for years.

This is not to pick on fig, but rather to show what zsh has been doing all along (and I suppose other shells like fish, too, but I’ve never tried).

[1] https://grml.org/zsh/

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#195
This is pretty cool!

I've only poked with it for a few minutes on a spare laptop I use for vetting software, but I did notice that the Kubernetes autocomplete only goes halfway, at least in iTerm.

If I do `kubectl top` it doesn't recommend `kubectl top pods|resources` in the autocomplete. Autocomplete needs to work for the whole line, not just the first argument.

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#196
post #80

Nice website, but I wouldn't switch to this from Fish/Zsh on account of: 1. Cannot identify any killer features above what I already have with forever free tools with much larger support communities. 2. Less trust in you as a YC startup. What if you fail? What if you sell out? 3. Requirement of email. 4. Telemetry and privacy concerns raised by others. 5. Not available for Linux, and I get the feeling that Linux woul…

#1 I do not agree with. This is a great idea for a tool, and I am willing to pay for it. This is an extension to my terminal and a useful adjunct to my shell, not a replacement for either. #5, maybe but that's fine. Lots of things are Mac-only or Linux-only. It's a proof of concept. Moreover they appear to be working on some kind of standard specification for completion meta-data, which other tools can start to adopt…

I have found "it's open source" to be a real-life meaningless response to "I prefer tools that I am likely able to have a significant amount of autonomous control over in the future."

The software market has very effectively figured out how to make things "open source" in name only (offhand, Canvas is the one that's killing me these days), and unfortunately now all such claims must be taken with a huge grain of salt.

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#197
post #80

Nice website, but I wouldn't switch to this from Fish/Zsh on account of: 1. Cannot identify any killer features above what I already have with forever free tools with much larger support communities. 2. Less trust in you as a YC startup. What if you fail? What if you sell out? 3. Requirement of email. 4. Telemetry and privacy concerns raised by others. 5. Not available for Linux, and I get the feeling that Linux woul…

You can stop at #1. Why do I need this when oh-my-zsh exists?

As soon as I saw the title I anticipated the Dropbox conversation!

I’m guessing people like me who use the shell as a means to an end. Honestly most of the time I’m using git bash “coz it’s there” and hate typing in commands. I actively avoid it. I installed LENS for kubernetes to avoid it.

I’d rather write a script in an IDE and run that than be working at the command line. Because then I can treat it like code, review before running and it’s repeatable.

I really get the benefits of this tool but I won’t use it because I prefer to avoid excessive command line use - preferring GUI and scripts BUT I do get why it is useful if I have to do interactive command line sessions

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#198
post #168
post #162

Earlier quoted context omitted.

> 2. Less trust in you as a YC startup. What if you fail? What if you sell out? > 3. Requirement of email. > 4. Telemetry and privacy concerns raised by others. Dovetailing on these... Like why is a CLI tool VC backed? Is the business model just selling our data? Is the VC backing for another product and the CLI tool is just a PR thing?

Just adding, from their website: > Investors: We've raised several million dollars from amazing VCs like General Catalyst and Kleiner Perkins, and angels like Jason Warner, Adam Gross, Olivier Pomel, Scott Belsky, Will Gaybrick and a handful of other impressive dev tool founders and executives. The fact that a CLI tool raised millions of dollars while also being basically powered by open-source contributions is also…

With millions of dollars you could probably just write a shell that does this sort of completion inside the terminal.

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#199
So I tried this with a throwaway address, disabled telemetry, and liked what I saw. Then noticed over the following few hours that text input everywhere other than iterm was very janky. Pauses, skipped letters, etc.

Disabled fig and it cleared up... Just FYI in case anyone else runs into this.

Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal

#200

Earlier quoted context omitted.

Can you suggest some tools which auto suggest like Fig and work with zsh? The built in auto complete in zsh works nicely, but how do I get the drop down of all options?

This is the closest I see: https://github.com/ohmyzsh/ohmyzsh Since switching to it from the default shell of Mac OS terminal (zsh I think) I have found it immensely productive. Some of the things it does seem Magic like auto completing uncommitted files when I say “git add ”

ohmyzsh is a plugin manager for zsh, not a different shell.
Post reply on HN