mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): new Crowdin updates (#1512)
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
- **fish 配置**:[matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
|
||||
- **提示符工具**:[Starship](https://starship.rs/)
|
||||
|
||||
## `prompt_order` 和 `<module>.disabled` 的效果是一样的吗?
|
||||
## Do top level `format` and `<module>.disabled` do the same thing?
|
||||
|
||||
是的,他们都可以用来禁用提示符中的组件。 如果你只是想禁用组件,推荐使用 `<module>.disabled`,原因如下:
|
||||
|
||||
- “禁用组件”比在 prompt_order 中忽略某个组件更为清晰明确
|
||||
- Disabling modules is more explicit than omitting them from the top level `format`
|
||||
- 当 Starship 升级后,新组件将能够自动被加入提示符中
|
||||
|
||||
## 你们的文档说“Starship 是跨 shell 的”,但它不支持 X shell。 为什么?
|
||||
|
||||
Reference in New Issue
Block a user