Lurker News
I built this terminal native runtime for Fig's autocomplete to support Windows and Linux. Would appreciate any feedback on it!

Comments (148) 33 threads

Earlier comments
efitz3 replies#
So I have to take a shell dependency on Node.js?

Hard pass

preciousoo#
Maybe the users don’t care about their devices
creatonez#
I don't mind it, it's just another runtime that works on Linux and BSD. I have my neovim infected with extensions made in Node.js, Python, Lua, my weechat is infected with extensions made in Python, Perl, Node.js, and my zsh is infected with extensions with components made in Rust, C, and Python. Just make sure to pay attention to shell start times and RAM usage.
pelagicAustral#
Haha, I though the same...

> npm install
NEXT!

ilc#
For those who haven't read the code:

This reuses Fig.io's internal completion engine to actually get the job done.
Because of that, it forces the language choice of Typescript, and the heavy lift is done by Fig's engine.
I hope the OP continues with the work and improves it. I was looking forward to trying Fig on Linux. This sounds like a step towards that.

hiAndrewQuinn1 reply#
Alternatively, if you simply wish to occasionally bring Copilot into your shell, you should know that Ctrl+X Ctrl+E (on bash) / Alt+E (on fish) will open your current shell line up in $EDITOR, which you may set to Vim or Neovim.

From there, :wq will drop the text back into your command line. If you have Copilot set up in either of those, then it will also work here.
I know from working on https://github.com/hiAndrewQuinn/shell-bling-ubuntu that Neovim's LazyVim setup now supports Copilot out of the box now. I never had much trouble setting up the Vim plugin either. YMMV.

lloeki#
If using bash in vi mode instead of emacs mode: ESC v.

zsh starts minimal, so one needs the following for such a feature to be operational:

    # enable
    autoload edit-command-line
    zle -N edit-command-line

    # bash-like emacs mode shortcut
    bindkey "^X^E" edit-command-line
    # bash-like vi mode shortcut
    bindkey -M vicmd v edit-command-line
mschrage5 replies#
Co-founder of Fig here! Just want to say that I think this is awesome.

It’s really cool to see alternative implementations of IDE-style autocomplete in the terminal. Nice work!

trey-jones2 replies#
I'm pretty sure this is just a wrapper for Fig.
alexlur1 reply#
A wrapper for Fig that doesn’t require me to create an account in order to use my terminal. I’d say it’s a good thing.
vladoski#
also because you cannot even create an account on Fig nowadays since the signups are currently disabled
curiousgal#
Looking at the main author's gorhub profile, they forker Fig's repo.
shrimpx1 reply#
Btw if you don't mind me asking, how will Fig make money? Will it be integrations with stuff like AWS, GCP, etc.? Nice work on Fig!
st0le1 reply#
IIRC They were acquired by Amazon. They have a paid offering for shared team environments.
shrimpx#
Oh cool, thanks!
arjvik#
Fig autocomplete is really cool! With the Fig aquisition, what do you forsee happening to Fig's autocomplete offering in the long and short term? My impression is that Amazon was interested more in the other parts of your tech, with the scripts and automation capabilities.

Load more comments