Hey HN! Didn't expect to see Fig here this morning.<p>We just released a new version of Fig that allows users to install a custom input method on macOS. This means we now work with over a dozen new terminals, including all JetBrain IDEs, Alacritty, Kitty, WezTerm and more.<p>The engineering behind it was surprisingly tricky since these APIs are not as well documented as you'd hope. (Indeed, the best place to look is the C header files [0])<p>But with a lot of trial and error, we've managed to get an implementation we're happy with. (That said, if anyone has tips on how to install an input method, without requiring a system restart, I'd love to hear them!)<p>I'll be around all day to answer any questions about how Fig works under the hood!<p>--<p>Also just to address some stuff that generally comes up when we're posted on HN:<p>1. Why is there a login?<p>Autocomplete is just our first product, and it's part of a suite of tools focused on improving developer experience in the terminal. The idea is that you can configure your developer environment in Fig and then we'll sync it across all of your devices.<p>2. Is there telemetry?<p>Yes, but you can opt-out entirely by running a single command.<p>fig settings telemetry.disabled true<p>3. How will Fig make money?<p>Fig will always be free for individuals. Teams pay for Fig for collaboration and discovery of internal scripts and for managing dev environment setup and onboarding.<p>4. Is there a Linux/Windows version?<p>We are making really good progress and will have a prototype in the next month or so. See the Github issues for Linux[1] and Windows[2]<p>[0] <a href="https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10.6.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/TextInputSources.h" rel="nofollow">https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10...</a><p>[1] <a href="https://github.com/withfig/fig/issues/34" rel="nofollow">https://github.com/withfig/fig/issues/34</a><p>[2] <a href="https://github.com/withfig/fig/issues/35" rel="nofollow">https://github.com/withfig/fig/issues/35</a>
Of course there's a lot of HN bitterness here. But I like Fig. I've been running my own heavily customised .zshrc for about a decade with loads of bells and whistles in terms of autocomplete and customised prompts and what not and it has been great and I've kept it current with cool new toys.<p>But I've dumped most of it in the last month for Fig. I like seeing command specific options, relevant to the current context, and in a long list which I can scan and scroll quickly.<p>I go to documentation MUCH less now and I'm faster with it. And that's most of what I care about.<p>Commence retaliations...
I don't understand what Fig is actually for. Why would I want a "visual autocomplete" when I already get what I want out of bash-complete + fzf, a more technically complete and understood solution?
This is the first time I've heard of Fig, just downloaded it and it's a hell lot slicker than zsh-autocomplete. It would be great to make the telemetry opt-out more noticeable, preferably on setup, I would not have noticed it unless I saw the comment with the command to run. (Although I now see it's buried in the settings too)
Already use fig in my Mac terminal and love the attention JetBrains IDEs are getting with plug-ins. Going to check this out when I need to fire up PyCharm for scheduled script maintenance.
Is anyone else getting this warning? I am using macOS 12.3.1, iTerm2 3.4.15 and bash 3.2.57(1)<p>bash: trap: __bp_install: invalid signal specification
Fig is macOS-only, proprietary, requires e-mail and has telemetry<p>Fig relies on free labour to add completions and does not support open-source completion formats<p>Fig is VC-funded and at some point will have to generate revenue for it’s investors - at your cost<p>don’t use Fig!<p>if you have zsh you can use zsh-autocomplete, which is no worse than Fig<p><a href="https://github.com/marlonrichert/zsh-autocomplete" rel="nofollow">https://github.com/marlonrichert/zsh-autocomplete</a><p>edit: this comment was the most popular before HN moderators pinned it down, turns out Fig is YC-sponsored, so i’m not surprised