From 47492d686be37d2f94f41e6663a9d7e7f14914df Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Mon, 5 Oct 2020 14:25:31 -0400 Subject: [PATCH] docs(FAQ): add FAQ about shell completions --- docs/faq/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/faq/README.md b/docs/faq/README.md index c4d0e4eb..acd712a5 100644 --- a/docs/faq/README.md +++ b/docs/faq/README.md @@ -10,6 +10,10 @@ - **Configuration**: [matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish) - **Prompt**: [Starship](https://starship.rs/) +## How do I get command completion as shown in the demo GIF? + +Completion support is provided by your shell of choice. In the case of the demo, the demo was done with [Fish Shell](https://fishshell.com/), which provides completions by default. If you use Z Shell (zsh), I'd suggest taking a look at [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions). + ## Do top level `format` and `.disabled` do the same thing? Yes, they can both be used to disable modules in the prompt. If all you plan to do is disable modules, `.disabled` is the preferred way to do so for these reasons: