withfig/autocomplete

[cd] Is there an option to disable the CD preview feature in the configuration settings?

jsonleex opened this issue · 1 comments

Sanity checks

  • My issue relates to a specific CLI completion spec (e.g. git checkout is missing options in git completion spec). If your issue is more general, please create your issue here: withfig/fig
  • I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue
  • I would like to work on this.

What CLI tool does this relate to?

cd

Which statement makes the most sense?

Something else

Issue Details

I noticed a cool CD preview feature was added for autocomplete in #1956, the preview feature is pretty cool, but for privacy concerns, sometimes I need to disable it temporarily.

Is there an option to disable the CD preview feature in the configuration settings?

iShot_2023-05-12_14 07 35
fedeci commented

@jsonleex In case you are still incurring in this issue, this disables it fig settings autocomplete.hidePreviewWindow true.