Live data from Hacker News

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

fig.io

71–80 of 390 posts

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

#71

What does "Sensitive data is never tracked" mean? I can't find any more details, and is like to know exactly what on the terminal is considered non-sensitive?

We consider most things you type in your terminal to be "sensitive". Fig only ever tracks the root command for any completion you do. For instance, if you type `git push origin master` and complete on `master`, Fig will only ever see `git` You can see our full privacy policy here: https://fig.io/privacy

$ /home/throwawaybutwhy/miscellanea/world_domination_plan_no_1.sh --help

You will see my login name, the structure of my folders and my intent to take over the world. Kinda sensitive, it seems.

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

#72
post #52

sounds awesome, but seems very dependent on the app? for example I use hyper.is as my terminal, I've installed Fig but it doesnt seem to work? does this app only work on the default mac terminal?

We do integrate with Hyper. Does Fig work in other terminals for you?

Or are you potentially on the canary build of Hyper? (You can check in ~/.hyper.js)

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

#73

Earlier quoted context omitted.

Traditional shell completions are quite difficult to make. Many CLI tools have completions for subcommands and options, but not for arguments. Only the big CLI tools like `git` and `docker` have arguments completions (e.g. git push [remote] [branch]`. Fig's declarative schema makes building the completions for subcommands, options and arguments very easy. This means we can support much more powerful autocomplete for…

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

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

#74

Any plan to support vscode terminal? Also, this experience really is great. Without knowing anything I was able to disable the "Menubar Icon" simply by guessing commands. And to try for any constructive feedback, I personally don't like logo at all. It doesn't seem to make sense to me and is the reason for hiding the icon in the first place. Feels like a window management icon like this: https://magnet.crowdcafe.com/…

Glad you are liking it! VSCode terminal should be supported out of the box. Go to ◧ > Settings and make sure the VSCode Integration is ticked. (You may also have to restart VSCode.) re Fig's icon: haha yes we could definitely do with a new icon. Our previous icon was an emoji pear (yes a pear, not a Fig) so at least our current one is a step up from that! We take the feedback on board and will investigate some new lo…

Ah, you're right! I am on the "VSCode Exploration" build still from being an early M1 adopter. I guess that version doesn't work -- no idea.

I swapped my builds and it's working perfectly, thank you and good luck to you and the team.

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

#76

Congrats on the launch! How does this work?

Thanks! Fig does a bunch of macOS specific hacks to find the cursor location, find link your tty session to a OS window id and determine your current edit buffer (the text you've typed).

We then map then look for a corresponding completion spec to generate suggestions!

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

#77
post #6

A few months ago I switched from macOS to windows + wsl2 and don't really miss anything from my previous workflow. This is the first time I see a mac only software that makes me wish I didn't. Congratulations !

We're hoping to get onto Linux and Windows soon! We opted to focus on a fast, macOS only version first. However, we built autocomplete in web technologies (html/css/js). This means autocomplete will be able to go cross platform, along with other apps we hope to build in the future!

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

#79

Earlier quoted context omitted.

We are planning on going cross platform! What distro / terminal emulator do you use?

No GP, but I'm forced to use Windows at work, so an integration into Windows Terminal would be super great. I've also seen a lot of people use Cmder, and I would personally switch to Cmder from Windows Terminal if Fig was only available on that.

Windows is also in the works! The core autocomplete logic is easy to port over - the tricking thing is building out all of the OS level integrations!

If you know any win32 devs, let me know :)

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

#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 would forever be an afterthought since you released for Mac first (presumably, this was driven by financial reasons).

Post reply on HN