mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 07:46:28 +00:00
docs(FAQ): add FAQ about shell completions
This commit is contained in:
parent
1673d565f4
commit
47492d686b
@ -10,6 +10,10 @@
|
|||||||
- **Configuration**: [matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
|
- **Configuration**: [matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
|
||||||
- **Prompt**: [Starship](https://starship.rs/)
|
- **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 `<module>.disabled` do the same thing?
|
## Do top level `format` and `<module>.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, `<module>.disabled` is the preferred way to do so for these reasons:
|
Yes, they can both be used to disable modules in the prompt. If all you plan to do is disable modules, `<module>.disabled` is the preferred way to do so for these reasons:
|
||||||
|
Loading…
Reference in New Issue
Block a user