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.
Launch HN: Fig (YC S20) – Autocomplete for the Terminal
201–210 of 390 posts
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#202Nice 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…
We started with macOS because I have a background in Swift development. Linux is definitely not an after thought to us! As for the telemetry concerns, I totally get that. We've tried to strike a balance and it seems like we've got it wrong. This will be fixed in the next update.
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#203How 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.
As far as I can tell, no one tried it because to 10x the existing shell experience requires working across multiple layers of stack. You need integrations with the shell, the terminal emulator and the OS -- in addition, to mapping the structure of a bunch of CLI tools.
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#204Earlier quoted context omitted.
Telemetry being on by default on something like this is going to be hard to pull off. Homebrew has telemetry but it's only for Homebrew commands. This would potentially be for every single command one type in a terminal. It just takes one little bug in the app and who knows what can be sent, maybe passwords and so on.
> Homebrew has telemetry but it's only for Homebrew commands. It was also more than a little controversial.
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#205This is misleading. Fig's completions data files are open-source, but the completion engine that runs the completions is completely proprietary. That means you contribute free ("open source") completions to them, but the scope and type of the completions is limited by their proprietary engine. --- YC has pinned the founder comment and made it an impossible to reply to the top-level comment. They say the most effectiv…
This isn't that eye-opening considering Launch HNs and job hires for YC-funded startups are said to be ads in FAQ.
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#206Earlier quoted context omitted.
What exactly do you mean by even when in SSH or docker?
As in, if you SSH into a remote machine, Fig can offer completions for that remote machine. Same thing if you are running an interactive terminal for a docker container. This image may help clarify: https://fig.io/images/slideshow/screenshots/ssh.png
That said, it's pretty attractive because it's much harder to make a case to install fish on remote servers.
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#207I've been a unix user for more than 2 decades now and have seen many of projects like these. And I've dismissed all for the simple reason that they don't fix the problem at its roots: getopt et al should be instrumented to provide valid completions for all unix commands. A layer on top is destined to be out of sync with the actual implementations soon. We only get one more level of indirection, one more abstraction l…
We've started off writing completions by hand, but to scale we will need more robust integrations. For instance, aws has 100+ subcommands and thousands of options.
Long term, we plan on writing integrations with popular CLI libraries, so that the completion spec can be generated automatically. We've already started with oclif[0] and have done some preliminary work with cobra.
[0 https://github.com/withfig/oclif-plugin/blob/main/src/comman...]
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#208So 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.
matt [at] fig.io
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#209Earlier quoted context omitted.
No, I think it's incumbent on us developers to be more willing to pay for things. We know now that free doesn't really work.
>> it's incumbent on us developers to be more willing to pay for things. If it is worthwhile and not freely available, I will certainly pay. There are some great IDEs and tools that fit into this category. >> We know now that free doesn't really work. I suppose it depends on your needs, but I find using free tools such as zsh, vim, tmux, linux, and many others very valuable to me.
Watching their demo didn't help either. At most the behavior seems an incremental improvement over what Bash ships with in most distros, and it's not even clearly better than that (IMO worse, I prefer the trailing slash or color-coding that Bash uses to distinguish file/dir properties vs icons). Joke: Is the "perceived need" really just because macOS's default Bash distro has these features disabled?
[1] https://en.wikipedia.org/wiki/Bash_(Unix_shell)#cite_note-60
Re: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
#210Just curious! How are you planning to make money as a YC company?