mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): new Crowdin updates (#6492)
* New translations readme.md (Russian) * New translations readme.md (French) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Spanish) * New translations readme.md (Spanish) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Korean) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Polish) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Indonesian) * New translations readme.md (French) * New translations readme.md (Bengali) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (French) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations jetpack.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations bracketed-segments.md (Chinese Simplified) * New translations nerd-font.md (Chinese Simplified) * New translations no-runtimes.md (Chinese Simplified) * New translations plain-text.md (Chinese Simplified) * New translations pure-preset.md (Chinese Simplified) * New translations pastel-powerline.md (Chinese Simplified) * New translations no-nerd-font.md (Chinese Simplified) * New translations no-empty-icons.md (Chinese Simplified) * New translations tokyo-night.md (Chinese Simplified) * New translations gruvbox-rainbow.md (Chinese Simplified) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations catppuccin-powerline.md (French) * New translations catppuccin-powerline.md (Spanish) * New translations catppuccin-powerline.md (Arabic) * New translations catppuccin-powerline.md (German) * New translations catppuccin-powerline.md (Italian) * New translations catppuccin-powerline.md (Japanese) * New translations catppuccin-powerline.md (Korean) * New translations catppuccin-powerline.md (Dutch) * New translations catppuccin-powerline.md (Norwegian) * New translations catppuccin-powerline.md (Polish) * New translations catppuccin-powerline.md (Portuguese) * New translations catppuccin-powerline.md (Russian) * New translations catppuccin-powerline.md (Turkish) * New translations catppuccin-powerline.md (Ukrainian) * New translations catppuccin-powerline.md (Chinese Simplified) * New translations catppuccin-powerline.md (Chinese Traditional) * New translations catppuccin-powerline.md (Vietnamese) * New translations catppuccin-powerline.md (Portuguese, Brazilian) * New translations catppuccin-powerline.md (Indonesian) * New translations catppuccin-powerline.md (Bengali) * New translations catppuccin-powerline.md (Sorani (Kurdish)) * New translations readme.md (Ukrainian) * New translations catppuccin-powerline.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Japanese) * New translations readme.md (Ukrainian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Vietnamese) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Japanese) * New translations bracketed-segments.md (Japanese) * New translations catppuccin-powerline.md (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Ukrainian)
This commit is contained in:
+197
-44
@@ -328,6 +328,7 @@ $azure\
|
||||
$nats\
|
||||
$direnv\
|
||||
$env_var\
|
||||
$mise\
|
||||
$crystal\
|
||||
$custom\
|
||||
$sudo\
|
||||
@@ -339,6 +340,7 @@ $time\
|
||||
$status\
|
||||
$os\
|
||||
$container\
|
||||
$netns\
|
||||
$shell\
|
||||
$character"""
|
||||
```
|
||||
@@ -618,7 +620,7 @@ The `bun` module shows the currently installed version of the [bun](https://bun.
|
||||
|
||||
*: Cette variable peut uniquement être utilisée dans une chaine de style
|
||||
|
||||
### Exemples
|
||||
### Exemple
|
||||
|
||||
#### Customize the format
|
||||
|
||||
@@ -629,15 +631,6 @@ The `bun` module shows the currently installed version of the [bun](https://bun.
|
||||
format = 'via [🍔 $version](bold green) '
|
||||
```
|
||||
|
||||
#### Replace Node.js
|
||||
|
||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||
|
||||
```toml
|
||||
[nodejs]
|
||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||
```
|
||||
|
||||
## C
|
||||
|
||||
Le module `c` affiche des informations à propos de votre compilateur C. Par défaut, ce module sera affiché si le dossier courant contient un fichier `.c` ou `.h`.
|
||||
@@ -684,6 +677,53 @@ Si un compilateur C n’est pas supporté par ce module, vous pouvez demander so
|
||||
format = 'via [$name $version]($style)'
|
||||
```
|
||||
|
||||
## CPP
|
||||
|
||||
The `cpp` module shows some information about your `C++` compiler. By default, the module will be shown if the current directory contains a `.cpp`, `.hpp`, or other `C++`-related files.
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Défaut | Description |
|
||||
| ------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||
| `format` | `'via [$symbol($version(-$name) )]($style)'` | La chaîne de format pour le module. |
|
||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||
| `symbole` | `'C++ '` | Le symbole utilisé avant d’afficher les détails du compilateur |
|
||||
| `detect_extensions` | `['cpp', 'cc', 'cxx', 'c++', 'hpp', 'hh', 'hxx', 'h++', 'tcc']` | Les extensions qui déclenchent ce module. |
|
||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||
| `commands` | `[ [ 'c++', '--version' ], [ 'g++', '--version' ], [ 'clang++', '--version' ] ]` | Comment détecter quel est le compilateur |
|
||||
| `style` | `'bold 149'` | Le style pour le module. |
|
||||
| `disabled` | `true` | Disables the `cpp` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Exemple | Description |
|
||||
| -------- | ------- | -------------------------------------- |
|
||||
| name | clang++ | Le nom du compilateur |
|
||||
| version | 13.0.0 | La version du compilateur |
|
||||
| symbole | | Reflète la valeur de l'option `symbol` |
|
||||
| style | | Reflète la valeur de l'option `style` |
|
||||
|
||||
Notez que `version` n’est pas dans le format par défaut.
|
||||
|
||||
### Commandes
|
||||
|
||||
L’option `commands` accepte une liste de commandes pour déterminer la version du compilateur et son nom.
|
||||
|
||||
Each command is represented as a list of the executable name, followed by its arguments, usually something like `['mycpp', '--version']`. Starship essayera d'exécuter chaque commande jusqu'à obtenir un résultat sur STDOUT.
|
||||
|
||||
If a C++ compiler is not supported by this module, you can request it by [raising an issue on GitHub](https://github.com/starship/starship/).
|
||||
|
||||
### Exemple
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[cpp]
|
||||
disabled = false
|
||||
format = 'via [$name $version]($style)'
|
||||
```
|
||||
|
||||
## Caractère
|
||||
|
||||
Le module `character` affiche un caractère (en général une flèche) à côté de là où vous entrez le texte dans votre terminal.
|
||||
@@ -874,6 +914,7 @@ Cela ne supprime pas le modificateur d'invite de conda, vous pourriez vouloir ex
|
||||
| `style` | `'bold green'` | Le style pour le module. |
|
||||
| `format` | `'via [$symbol$environment]($style) '` | Format du module. |
|
||||
| `ignore_base` | `true` | Ignore l'environnement `base` lorsqu'il est activé. |
|
||||
| `detect_env_vars` | `["!PIXI_ENVIRONMENT_NAME"]` | Which environment variable(s) should trigger this module. If it's a pixi environment, this module is not being triggered by default. |
|
||||
| `disabled` | `false` | Désactive le module `conda`. |
|
||||
|
||||
### Variables
|
||||
@@ -1875,25 +1916,26 @@ Le module Statut Git est très lent dans les dossiers Windows (par exemple sous
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Défaut | Description |
|
||||
| ------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | Le format par défaut du module `git_status` |
|
||||
| `conflicted` | `'='` | Cette branche a des conflits de fusion. |
|
||||
| `ahead` | `'⇡'` | Le format de `ahead` |
|
||||
| `behind` | `'⇣'` | Le format de `behind` |
|
||||
| `diverged` | `'⇕'` | Le format de `diverged` |
|
||||
| `up_to_date` | `''` | The format de `up_to_date` |
|
||||
| `untracked` | `'?'` | Le format de `untracked` |
|
||||
| `stashed` | `'$'` | Le format de `stashed` |
|
||||
| `modified` | `'!'` | Le format de `modified` |
|
||||
| `staged` | `'+'` | Le format de `staged` |
|
||||
| `renamed` | `'»'` | Le format de `renamed` |
|
||||
| `deleted` | `'✘'` | Le format de `deleted` |
|
||||
| `typechanged` | `""` | The format of `typechanged` |
|
||||
| `style` | `'bold red'` | Le style pour le module. |
|
||||
| `ignore_submodules` | `false` | Ignorer les changements des sous-modules. |
|
||||
| `disabled` | `false` | Désactive le module `git_status`. |
|
||||
| `windows_starship` | | Utiliser ce chemin (Linux) vers un exécutable Starship Windows pour afficher le `git_status` pour les chemins Windows dans WSL. |
|
||||
| Option | Défaut | Description |
|
||||
| -------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | Le format par défaut du module `git_status` |
|
||||
| `conflicted` | `'='` | Cette branche a des conflits de fusion. |
|
||||
| `ahead` | `'⇡'` | Le format de `ahead` |
|
||||
| `behind` | `'⇣'` | Le format de `behind` |
|
||||
| `diverged` | `'⇕'` | Le format de `diverged` |
|
||||
| `up_to_date` | `''` | The format de `up_to_date` |
|
||||
| `untracked` | `'?'` | Le format de `untracked` |
|
||||
| `stashed` | `'$'` | Le format de `stashed` |
|
||||
| `modified` | `'!'` | Le format de `modified` |
|
||||
| `staged` | `'+'` | Le format de `staged` |
|
||||
| `renamed` | `'»'` | Le format de `renamed` |
|
||||
| `deleted` | `'✘'` | Le format de `deleted` |
|
||||
| `typechanged` | `""` | The format of `typechanged` |
|
||||
| `style` | `'bold red'` | Le style pour le module. |
|
||||
| `ignore_submodules` | `false` | Ignorer les changements des sous-modules. |
|
||||
| `disabled` | `false` | Désactive le module `git_status`. |
|
||||
| `windows_starship` | | Utiliser ce chemin (Linux) vers un exécutable Starship Windows pour afficher le `git_status` pour les chemins Windows dans WSL. |
|
||||
| `use_git_executable` | `false` | Do not use `gitoxide` for computing the status, but use the `git` executable instead. |
|
||||
|
||||
### Variables
|
||||
|
||||
@@ -1971,7 +2013,7 @@ windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.e
|
||||
|
||||
The `gleam` module shows the currently installed version of [Gleam](https://gleam.run/). Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
||||
|
||||
- The current directory contains a `gleam.toml` file
|
||||
- Le dossier courant contient un fichier `gleam.toml`
|
||||
- The current directory contains a file with the `.gleam` extension
|
||||
|
||||
### Options
|
||||
@@ -2817,6 +2859,40 @@ truncation_length = 4
|
||||
truncation_symbol = ''
|
||||
```
|
||||
|
||||
## Mise
|
||||
|
||||
The `mise` module shows the current mise health as reported by running `mise doctor`.
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Défaut | Description |
|
||||
| ------------------ | -------------------------------- | ------------------------------------------------ |
|
||||
| `symbole` | `'mise '` | The symbol used before displaying _mise_ health. |
|
||||
| `style` | `'bold purple'` | Le style pour le module. |
|
||||
| `format` | `'on [$symbol$health]($style) '` | Format du module. |
|
||||
| `healthy_symbol` | `healthy` | The message displayed when _mise_ is healthy. |
|
||||
| `unhealthy_symbol` | `unhealthy` | The message displayed when _mise_ is unhealthy. |
|
||||
| `disabled` | `true` | Disables the `mise` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Exemple | Description |
|
||||
| --------- | --------- | -------------------------------------- |
|
||||
| health | `healthy` | The health of _mise_ |
|
||||
| symbole | | Reflète la valeur de l'option `symbol` |
|
||||
| style\* | | Reflète la valeur de l'option `style` |
|
||||
|
||||
*: Cette variable peut uniquement être utilisée dans une chaine de style
|
||||
|
||||
### Exemple
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[mise]
|
||||
health = 'ready'
|
||||
```
|
||||
|
||||
## Mojo
|
||||
|
||||
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||
@@ -2881,6 +2957,37 @@ format = '[$symbol]($style)'
|
||||
style = 'bold purple'
|
||||
```
|
||||
|
||||
## Network Namespace
|
||||
|
||||
The `netns` module shows the current network namespace. This uses `ip netns identify` to get the network namespace, so only network namespaces mounted at `/var/run/netns` will be detected.
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Défaut | Description |
|
||||
| ---------- | --------------------------------- | ----------------------------------------------------------------- |
|
||||
| `format` | `'[$symbol \[$name\]]($style)'` | Format du module. |
|
||||
| `symbole` | `'🛜 '` | The symbol used before the network namespace (defaults to empty). |
|
||||
| `style` | `'blue bold dimmed'` | Le style pour le module. |
|
||||
| `disabled` | `false` | Disables the `netns` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Exemple | Description |
|
||||
| --------- | ---------- | ----------------------------------------- |
|
||||
| name | `my-netns` | The name of the current network namespace |
|
||||
| symbole | | Reflète la valeur de l'option `symbol` |
|
||||
| style\* | | Reflète la valeur de l'option `style` |
|
||||
|
||||
### Exemple
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[netns]
|
||||
style = 'bold yellow'
|
||||
symbol = '🌐 '
|
||||
```
|
||||
|
||||
## Nim
|
||||
|
||||
Le module `nim` affiche la version de [Nim](https://nim-lang.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
||||
@@ -2975,6 +3082,8 @@ Le module `nodejs` affiche la version de [Node.js](https://nodejs.org/) install
|
||||
- Le dossier courant contient un fichier avec l’extension `.js`, `.mjs` ou `.cjs`
|
||||
- Le dossier courant contient un fichier avec l’extension `.ts`, `.mts` ou `.cts`
|
||||
|
||||
Additionally, the module will be hidden by default if the directory contains a `bunfig.toml`, `bun.lock`, or `bun.lockb` file, overriding the above conditions.
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Défaut | Description |
|
||||
@@ -3202,6 +3311,7 @@ Amazon = "🙂 "
|
||||
Android = "🤖 "
|
||||
Arch = "🎗️ "
|
||||
Artix = "🎗️ "
|
||||
Bluefin = "🐟 "
|
||||
CachyOS = "🎗️ "
|
||||
CentOS = "💠 "
|
||||
Debian = "🌀 "
|
||||
@@ -3280,6 +3390,7 @@ Arch = "Arch is the best! "
|
||||
The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages.
|
||||
|
||||
- [**npm**](https://docs.npmjs.com/cli/commands/npm) – La version du paquet `npm` est extraite du `package.json` présent dans le répertoire courant
|
||||
- [**JSR**](https://jsr.io/) – The `jsr` package version is extracted from the `jsr.json`/`jsr.jsonc` or `deno.json`/`deno.jsonc` present in the current directory
|
||||
- [**Cargo**](https://doc.rust-lang.org/cargo/) – La version du paquet `cargo` est extraite du `Cargo.toml` présent dans le répertoire courant
|
||||
- [**Nimble**](https://github.com/nim-lang/nimble) - La version du paquet `nimble` est extraite du fichier `*.nimble` dans le répertoire courant avec la commande `nimble dump`
|
||||
- [**Poetry**](https://python-poetry.org/) – La version du paquet `poetry` est extraite du `pyproject.toml` présent dans le répertoire courant
|
||||
@@ -3424,6 +3535,49 @@ The `pijul_channel` module shows the active channel of the repo in your current
|
||||
| `truncation_symbol` | `'…'` | Le symbole utilisé pour indiquer qu'un nom de branche a été tronqué. |
|
||||
| `disabled` | `true` | Disables the `pijul` module. |
|
||||
|
||||
## Pixi
|
||||
|
||||
The `pixi` module shows the installed [pixi](https://pixi.sh) version as well as the activated environment, if `$PIXI_ENVIRONMENT_NAME` is set.
|
||||
|
||||
::: tip
|
||||
|
||||
This does not suppress pixi's own prompt modifier, you may want to run `pixi config set change-ps1 false`.
|
||||
|
||||
:::
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Défaut | Description |
|
||||
| -------------------------- | --------------------------------------------------------- | --------------------------------------------------------------------------------- |
|
||||
| `format` | `'via [$symbol($version )(\($environment\) )]($style)'` | Format du module. |
|
||||
| `version_format` | `'v${raw}'` | Le format de la version. Available vars are `raw`, `major`, `minor`, & `patch`. |
|
||||
| `symbole` | `'🧚 '` | Le symbole utilisé avant le nom d'environnement. |
|
||||
| `style` | `'yellow bold' | Le style pour le module. |
|
||||
| `show_default_environment` | `true` | Whether to indicate that the `default` environment of your project is activated. |
|
||||
| `pixi_binary` | `['pixi']` | Configures the pixi binary that Starship should execute when getting the version. |
|
||||
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||
| `detect_files` | `['pixi.toml']` | Les fichiers qui activent ce module. |
|
||||
| `detect_folders` | `['.pixi']` | Les dossiers qui activent ce module. |
|
||||
| `disabled` | `false` | Disables the `pixi` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Exemple | Description |
|
||||
| ----------- | --------- | -------------------------------------- |
|
||||
| version | `v0.33.0` | The version of `pixi` |
|
||||
| environment | `py311` | The current pixi environment |
|
||||
| symbole | | Reflète la valeur de l'option `symbol` |
|
||||
| style | | Reflète la valeur de l'option `style` |
|
||||
|
||||
### Exemple
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[pixi]
|
||||
format = '[$symbol$environment](yellow) '
|
||||
```
|
||||
|
||||
## Pulumi
|
||||
|
||||
The `pulumi` module shows the current username, selected [Pulumi Stack](https://www.pulumi.com/docs/intro/concepts/stack/), and version.
|
||||
@@ -3538,26 +3692,25 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
||||
- Le dossier courant contient un fichier `requirements.txt`
|
||||
- Le dossier courant contient un fichier `setup.py`
|
||||
- Le dossier courant contient un fichier `tox.ini`
|
||||
- Le dossier courant contient un fichier `pixi.toml`
|
||||
- Le dossier courant contient un fichier avec l’extension `.py`.
|
||||
- The current directory contains a file with the `.ipynb` extension.
|
||||
- Un environnement virtuel est actuellement activé
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Défaut | Description |
|
||||
| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Format du module. |
|
||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||
| `symbole` | `'🐍 '` | Une chaîne de caractères représentant le symbole de Python |
|
||||
| `style` | `'yellow bold'` | Le style pour le module. |
|
||||
| `pyenv_version_name` | `false` | Utiliser pyenv pour obtenir la version de Python |
|
||||
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
||||
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
||||
| `detect_extensions` | `['py', 'ipynb']` | Les extensions qui déclenchent ce module |
|
||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini', 'pixi.toml']` | Quels fichiers devraient activer ce module |
|
||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module |
|
||||
| `disabled` | `false` | Désactive le module `python`. |
|
||||
| Option | Défaut | Description |
|
||||
| -------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Format du module. |
|
||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||
| `symbole` | `'🐍 '` | Une chaîne de caractères représentant le symbole de Python |
|
||||
| `style` | `'yellow bold'` | Le style pour le module. |
|
||||
| `pyenv_version_name` | `false` | Utiliser pyenv pour obtenir la version de Python |
|
||||
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
||||
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should execute when getting the version. |
|
||||
| `detect_extensions` | `['py', 'ipynb']` | Les extensions qui déclenchent ce module |
|
||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Quels fichiers devraient activer ce module |
|
||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module |
|
||||
| `disabled` | `false` | Désactive le module `python`. |
|
||||
|
||||
::: tip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user