summaryrefslogtreecommitdiffstats
path: root/docs/fr-FR
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-09-30 16:26:13 -0400
committerGitHub <noreply@github.com>2020-09-30 16:26:13 -0400
commitd8dcf04cff71794d15255e46a164a7f3633a11ec (patch)
tree989a55c405ba1d99cd1c740ffaee43e9456742ad /docs/fr-FR
parentd63c7ce3f924bfe5c96bccddb49f452c9190ff7e (diff)
docs(i18n): new Crowdin updates (#1512)
Diffstat (limited to 'docs/fr-FR')
-rw-r--r--docs/fr-FR/README.md14
-rw-r--r--docs/fr-FR/advanced-config/README.md8
-rw-r--r--docs/fr-FR/config/README.md1061
-rw-r--r--docs/fr-FR/faq/README.md10
-rw-r--r--docs/fr-FR/guide/README.md20
-rw-r--r--docs/fr-FR/migrating-to-0.45.0/README.md265
-rw-r--r--docs/fr-FR/presets/README.md9
7 files changed, 969 insertions, 418 deletions
diff --git a/docs/fr-FR/README.md b/docs/fr-FR/README.md
index a357804fb..25c588143 100644
--- a/docs/fr-FR/README.md
+++ b/docs/fr-FR/README.md
@@ -7,18 +7,18 @@ actionText: Commencez →
actionLink: ./guide/
features:
-
- title: Compatibilité d'abord
+ title: Compatibilité avant tout
details: Fonctionne sur tous les principaux shells et système d'exploitation. Utilisez-le partout !
-
title: Propulsé par Rust
- details: Profiter de toute la rapidité et la securité de Rust, pour rendre votre prompt le plus rapide et fiable possible.
+ details: Profiter de toute la rapidité et la sécurité de Rust pour rendre votre invite de commandes le plus rapide et fiable possible.
-
title: Personnalisable
- details: Tous les petits détails sont personnalisable à votre goût, pour rendre votre prompt aussi léger ou complet que le vous souhaitez.
-footer: ISC licencié | Copyright © 2019-present Starship Contributors
+ details: Tous les petits détails sont personnalisable à votre goût, pour rendre votre invite de commandes aussi léger ou complet que le vous souhaitez.
+footer: Licence ISC | Copyright © 2019-présent Contributeurs Starship
#Used for the description meta tag, for SEO
-metaTitle: "Starship: Invite Cross-Shell"
-description: Starship est un invite minimaliste, ultra-rapide et hautement personnalisable pour n'importe quel shell ! Montrez les informations dont vous avez besoin, tout en restant élégant et minimaliste. Installation rapide disponible pour Bash, Fish, ZSH, Ion et PowerShell.
+metaTitle: "Starship : Invite Multi-Shell"
+description: Starship est un invite minimaliste, ultra-rapide et hautement personnalisable pour n'importe quel shell ! Montre les informations dont vous avez besoin tout en restant élégant et minimaliste. Installation rapide disponible pour Bash, Fish, ZSH, Ion et PowerShell.
---
<div class="center">
@@ -56,7 +56,7 @@ description: Starship est un invite minimaliste, ultra-rapide et hautement perso
scoop install starship
```
-1. Ajouter le script d'initialization à la fiche config de votre shell:
+1. Ajouter le script d’initialisation au fichier configuration de votre shell:
#### Bash
diff --git a/docs/fr-FR/advanced-config/README.md b/docs/fr-FR/advanced-config/README.md
index 0c8eba70b..9bba9e70b 100644
--- a/docs/fr-FR/advanced-config/README.md
+++ b/docs/fr-FR/advanced-config/README.md
@@ -1,16 +1,16 @@
# Configuration avancée
-Alors que Starship est un shell polyvalent, vous devez parfois faire plus que d'éditer `starship.toml` pour le faire les choses. Cette page détaille quelques techniques de configuration avancées qu'on peut utiliser dans starship.
+Même si Starship est un shell polyvalent, éditer `starship.toml` ne suffit parfois pas pour faire certaines choses. Cette page détaille quelques techniques de configuration avancées utilisées dans starship.
::: warning
-Les configurations de cette section sont sujettes à modification dans les versions à venir de Starship.
+Les configurations dans cette section sont sujettes à modification dans les futures versions de Starship.
:::
-## Commandes pré-commande et pré-exécution personnalisées en Bash
+## Personnalisation des commandes pré-commande et pré-exécution en Bash
-Bash n'a pas de cadre officiel préexec/précmd comme la plupart des autres shell du commande. C'est pourquoi il est difficile de fournir des crochets entièrement personnalisables dans `bash`. Cependant, Starship vous donne une capacité limitée à insérer vos propres fonctions dans la procédure de rendu commande :
+Bash n'a pas de structure officielle préexec/précmd comme la plupart des autres shells. C'est pourquoi il est difficile de fournir des hooks entièrement personnalisables dans `bash`. Cependant, Starship vous donne une capacité limitée à insérer vos propres fonctions dans la procédure de rendu commande :
- Pour exécuter une fonction personnalisée juste avant que commande soit dessinée, définissez une nouvelle fonction et assignez son nom à `starship_precmd_user_func`. Par exemple, pour dessiner une fusée avant la commande, vous feriez
diff --git a/docs/fr-FR/config/README.md b/docs/fr-FR/config/README.md
index 017ba43fb..1b82e7c10 100644
--- a/docs/fr-FR/config/README.md
+++ b/docs/fr-FR/config/README.md
@@ -1,33 +1,27 @@
# Configuration
-::: tip
-
-🔥 La configuration est en train d'être travaillée. Beaucoup de nouvelles options de configuration seront disponibles dans les prochaines versions.
-
-:::
-
Pour commencer à configurer starship, créez le fichier suivant : `~/.config/starship.toml`.
```sh
mkdir -p ~/.config && touch ~/.config/starship.toml
```
-Toute la configuration de starship est effectuée dans ce fichier [TOML](https://github.com/toml-lang/toml) :
+Toute la configuration de starship est faite dans ce fichier [TOML](https://github.com/toml-lang/toml):
```toml
-# Don't print a new line at the start of the prompt
+# N'écrivez pas une nouvelle ligne au début de la console
add_newline = false
-# Replace the "❯" symbol in the prompt with "➜"
-[character] # The name of the module we are configuring is "character"
-success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
+# Remplacez le symbole "❯" dans la console avec "➜"
+[character] # Le nom du module que nous configurons est "character"
+success_symbol = "[➜](bold green)" # Le segment "success_symbol" est mis comme "➜" avec la couleur "bold green"
-# Disable the package module, hiding it from the prompt completely
+# Désactivez le module package, le masquant complètement dans la console
[package]
disabled = true
```
-Vous pouvez changer l'emplacement du fichier de configuration `starship.toml` grâce à la variable d'environnement `STARSHIP_CONFIG`:
+Vous pouvez changer l'emplacement par défaut du fichier `starship.toml` avec la variable d'environnement `STARSHIP_CONFIG` :
```sh
export STARSHIP_CONFIG=~/.starship
@@ -39,9 +33,23 @@ De manière équivalente, pour Powershell (Windows), ajoutez la ligne suivante
$ENV:STARSHIP_CONFIG = "$HOME\.starship"
```
-### Terminologie
+### Logging
-**Module**: Un composant dans l'invite donnant des informations basées sur des informations contextuelles à propos de votre Système d'Exploitation. Par exemple, le module "nodejs" montre la version de NodeJS qui est actuellement installée sur votre ordinateur, si votre répertoire actuel est un projet NodeJS.
+By default starship logs warnings and errors into a file named `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, where the session key is corresponding to a instance of your terminal. This, however can be changed using the `STARSHIP_CACHE` environment variable:
+
+```sh
+export STARSHIP_CACHE=~/.starship/cache
+```
+
+De manière équivalente, pour Powershell (Windows), ajoutez la ligne suivante à votre `$PROFILE`:
+
+```ps1
+$ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp"
+```
+
+### Terminology
+
+**Module**: A component in the prompt giving information based on contextual information from your OS. For example, the "nodejs" module shows the version of NodeJS that is currently installed on your computer, if your current directory is a NodeJS project.
**Variable**: Smaller sub-components that contains information provided by the module. For example, the "version" variable in the "nodejs" module contains the current version of NodeJS.
@@ -57,11 +65,11 @@ A variable contains a `$` symbol followed by the name of the variable. The name
For example:
-- `$version` is a format string with a variable named `version`.
-- `$git_branch$git_commit` is a format string with two variables named `git_branch` and `git_commit`.
-- `$git_branch $git_commit` has the two variables separated with a space.
+- `$version` est une chaîne de formatage avec une variable nommée `version`.
+- `$git_branch$git_commit` est une chaîne de formatage avec deux variables appelées `git_branch` et `git_commit`.
+- `$git_branch $git_commit` a les deux variables séparées par un espace.
-#### Text Group
+#### Groupe de texte
A text group is made up of two different parts.
@@ -71,38 +79,38 @@ In the second part, which is enclosed in a `()`, is a [style string](#style-stri
For example:
-- `[on](red bold)` will print a string `on` with bold text colored red.
-- `[⬢ $version](bold green)` will print a symbol `⬢` followed by the content of variable `version`, with bold text colored green.
-- `[a [b](red) c](green)` will print `a b c` with `b` red, and `a` and `c` green.
+- `[on](red bold)` affichera une chaîne de caractères `on` avec un texte gras de couleur rouge.
+- `[⬢ $version](bold green)` affichera un symbole `⬢` suivi du contenu de la variable `version`, avec un texte en gras de couleur verte.
+- `[a [b](red) c](green)` affichera `a b c` avec `b` rouge, et `a` et `c` vert.
#### Chaînes de style
-La plupart des modules de Starship vous permettent de configurer leurs styles d'affichage. Cela se fait avec une entrée (généralement appelée `style`) qui est une chaîne de caractères spécifiant la configuration. Voici quelques exemples de chaînes de style avec ce qu'elles font. Pour plus de détails sur la syntaxe complète, consultez le [guide de configuration avancé](/advanced-config/).
+Most modules in starship allow you to configure their display styles. This is done with an entry (usually called `style`) which is a string specifying the configuration. Here are some examples of style strings along with what they do. For details on the full syntax, consult the [advanced config guide](/advanced-config/).
- `"fg:green bg:blue"` définit un texte vert sur un fond bleu
- `"bg:blue fg:bright-green"` définit un texte vert clair sur un fond bleu
- `"bold fg:27"` définit le texte en gras avec la [couleur ANSI](https://i.stack.imgur.com/KTSQa.png) 27
- `"underline bg:#bf5700"` définit le texte en souligné sur un fond orange foncé
-- `"bold italic fg:violet"` définit le texte en italique et gras sur un fond violet
+- `"bold italic fg:purple"` définit le texte en italique et gras sur un fond violet
- `""` désactive explicitement tous les styles
-Notez que ce style sera contrôlé par votre émulateur de terminal. Par exemple, certains émulateurs de terminal éclairciront les couleurs au lieu de mettre le texte en gras, et certains thèmes de couleurs utilisent les mêmes valeurs pour les couleurs normales et claires. De plus, pour obtenir du texte italique, votre terminal doit prendre en charge l'italique.
+Note that what styling looks like will be controlled by your terminal emulator. For example, some terminal emulators will brighten the colors instead of bolding text, and some color themes use the same values for the normal and bright colors. Also, to get italic text, your terminal must support italics.
-#### Conditional Format Strings
+#### Chaînes de formatage conditionnel
A conditional format string wrapped in `(` and `)` will not render if all variables inside are empty.
For example:
-- `(@$region)` will show nothing if the variable `region` is `None`, otherwise `@` followed by the value of region.
-- `(some text)` will always show nothing since there are no variables wrapped in the braces.
-- When `$all` is a shortcut for `\[$a$b\]`, `($all)` will show nothing only if `$a` and `$b` are both `None`. This works the same as `(\[$a$b\] )`.
+- `(@$region)` ne montrera rien si la variable `région` est `None`, sinon `@` suivi de la valeur de la région.
+- `(some text)` ne montrera toujours rien puisqu'il n'y a pas de variables enveloppées dans les accolades.
+- Lorsque `$all` est un raccourci pour `\[$a$b\]`, `($all)` ne montrera rien que si `$a` et `$b` sont tous les deux `None`. Cela fonctionne comme `(\[$a$b\] )`.
-#### Escapable characters
+#### Caractère d’échappement
The following symbols have special usage in a format string. If you want to print the following symbols, you have to escape them with a backslash (`\`).
-- $
+- \$
- \\
- [
- ]
@@ -130,23 +138,21 @@ format = '''
## Invite
-Voici la liste des options de configuration de l'invite en lui-même.
+This is the list of prompt-wide configuration options.
### Options
-| Option | Default | Description |
-| -------------- | ------------------------------ | ------------------------------------------------------------------------- |
-| `format` | [lien](#default-prompt-format) | Configure the format of the prompt. |
-| `scan_timeout` | `30` | Délai d'attente pour que starship scanne les fichiers (en millisecondes). |
+| Option | Défaut | Description |
+| -------------- | ------------------------------ | -------------------------------------------------------------------------- |
+| `format` | [lien](#default-prompt-format) | Configure le format de l'invite. |
+| `scan_timeout` | `30` | Délai d'attente avant que starship scanne les fichiers (en millisecondes). |
+| `add_newline` | `true` | Ajoute une nouvelle ligne a début de l'invite. |
### Exemple
```toml
# ~/.config/starship.toml
-# Disable the newline at the start of the prompt
-format = "$all"
-
# Use custom format
format = """
[┌───────────────────>](bold green)
@@ -155,20 +161,23 @@ format = """
# Wait 10 milliseconds for starship to check files under the current directory.
scan_timeout = 10
+
+# Disable the newline at the start of the prompt
+add_newline = false
```
### Default Prompt Format
-The default `format` is used to define the format of the prompt, if empty or no `format` is provided. La valeur par défaut est la suivante :
+The default `format` is used to define the format of the prompt, if empty or no `format` is provided. The default is as shown:
```toml
-format = "\n$all"
+format = "$all"
# Which is equivalent to
format = """
-
$username\
$hostname\
+$shlvl\
$kubernetes\
$directory\
$git_branch\
@@ -179,6 +188,7 @@ $hg_branch\
$docker_context\
$package\
$cmake\
+$dart\
$dotnet\
$elixir\
$elm\
@@ -190,17 +200,20 @@ $julia\
$nim\
$nodejs\
$ocaml\
+$perl\
$php\
$purescript\
$python\
$ruby\
$rust\
+$swift\
$terraform\
$zig\
$nix_shell\
$conda\
$memory_usage\
$aws\
+$gcloud\
$env_var\
$crystal\
$cmd_duration\
@@ -209,39 +222,40 @@ $line_break\
$jobs\
$battery\
$time\
+$status\
$character"""
```
## AWS
-Le module `aws` affiche la région et le profil AWS courant. Ces informations sont basées sur les variables d'environnement `AWS_REGION`, `AWS_DEFAULT_REGION`, et `AWS_PROFILE` ainsi que le fichier `~/.aws/config`.
+The `aws` module shows the current AWS region and profile. This is based on `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env var with `~/.aws/config` file.
-Quand [aws-vault](https://github.com/99designs/aws-vault) est utilisé, la valeur du profil est lu dans la variable d'environnement: `AWS_VAULT`.
+When using [aws-vault](https://github.com/99designs/aws-vault) the profile is read from the `AWS_VAULT` env var.
### Options
-| Option | Default | Description |
-| ---------------- | ---------------------------------------------------- | --------------------------------------------------------------- |
-| `format` | `"on [$symbol$profile(\\($region\\))]($style) "` | The format for the module. |
-| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
-| `region_aliases` | | Table of region aliases to display in addition to the AWS name. |
-| `style` | `"bold yellow"` | Le style du module. |
-| `disabled` | `false` | Désactive le module `AWS`. |
+| Option | Default | Description |
+| ---------------- | ---------------------------------------------------- | -------------------------------------------------------- |
+| `format` | `"on [$symbol$profile(\\($region\\))]($style) "` | Format du module. |
+| `symbol` | `"☁️ "` | Le symbole affiché avant le profil AWS actuel. |
+| `region_aliases` | | Table des alias de région à afficher en plus du nom AWS. |
+| `style` | `"bold yellow"` | Le style du module. |
+| `disabled` | `false` | Désactive le module `AWS`. |
### Variables
-| Variable | Exemple | Description |
-| --------- | ---------------- | ------------------------------------ |
-| region | `ap-northeast-1` | The current AWS region |
-| profile | `astronauts` | The current AWS profile |
-| symbol | | Mirrors the value of option `symbol` |
-| style\* | | Mirrors the value of option `style` |
+| Variable | Exemple | Description |
+| --------- | ---------------- | -------------------------------------- |
+| region | `ap-northeast-1` | La région AWS actuelle |
+| profile | `astronauts` | Le profil AWS actuel |
+| symbol | | Reflète la valeur de l'option `symbol` |
+| style\* | | Reflète la valeur de l'option `style` |
\*: This variable can only be used as a part of a style string
### Examples
-#### Display everything
+#### Tout afficher
```toml
# ~/.config/starship.toml
@@ -255,7 +269,7 @@ ap-southeast-2 = "au"
us-east-1 = "va"
```
-#### Display region
+#### Afficher la région
```toml
# ~/.config/starship.toml
@@ -269,7 +283,7 @@ ap-southeast-2 = "au"
us-east-1 = "va"
```
-#### Display profile
+#### Afficher le profil
```toml
# ~/.config/starship.toml
@@ -291,17 +305,17 @@ The `battery` module shows how charged the device's battery is and its current c
| `full_symbol` | `"•"` | Le symbole affiché lorsque la batterie est pleine. |
| `charging_symbol` | `"⇡"` | Le symbole affiché lorsque la batterie se charge. |
| `discharging_symbol` | `"⇣"` | Le symbole affiché lorsque la batterie se décharge. |
-| `format` | `"[$symbol$percentage]($style) "` | The format for the module. |
+| `format` | `"[$symbol$percentage]($style) "` | Format du module. |
| `display` | [lien](#battery-display) | Affiche le seuil et le style du module. |
| `disabled` | `false` | Désactive le module `battery`. |
<details>
<summary>There are also options for some uncommon battery states.</summary>
-| Variable | Description |
-| ---------------- | --------------------------------------------------- |
-| `unknown_symbol` | The symbol shown when the battery state is unknown. |
-| `empty_symbol` | The symbol shown when the battery state is empty. |
+| Variable | Description |
+| ---------------- | ------------------------------------------------------------- |
+| `unknown_symbol` | Le symbole affiché lorsque l'état de la batterie est inconnu. |
+| `empty_symbol` | Le symbole affiché lorsque la batterie est vide. |
Note: Battery indicator will be hidden if the status is `unknown` or `empty` unless you specify the option in the config.
@@ -320,7 +334,7 @@ discharging_symbol = "💀"
### Battery Display
-The `display` configuration option is used to define when the battery indicator should be shown (threshold) and what it looks like (style). If no `display` is provided. La valeur par défaut est la suivante :
+The `display` configuration option is used to define when the battery indicator should be shown (threshold) and what it looks like (style). If no `display` is provided. The default is as shown:
```toml
[[battery.display]]
@@ -332,10 +346,10 @@ style = "bold red"
The `display` option is an array of the following table.
-| Variable | Description |
-| ----------- | ----------------------------------------------- |
-| `threshold` | The upper bound for the display option. |
-| `style` | The style used if the display option is in use. |
+| Variable | Description |
+| ----------- | -------------------------------------------------- |
+| `threshold` | La limite supérieure pour l'option d'affichage. |
+| `style` | Le style de l'option display si elle est utilisée. |
#### Exemple
@@ -352,36 +366,36 @@ style = "bold yellow"
```
-## Character
+## Caractères
The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
The character will tell you whether the last command was successful or not. It can do this in two ways:
-- changing color (`red`/`green`)
-- changing shape (`❯`/`✖`)
+- changement de couleur (`red`/`green`)
+- changement de forme (`❯`/`✖`)
By default it only changes color. If you also want to change it's shape take a look at [this example](#with-custom-error-shape).
### Options
-| Option | Default | Description |
-| ---------------- | ------------------- | -------------------------------------------------------------------------------- |
-| `format` | `"$symbol "` | The format string used before the text input. |
-| `success_symbol` | `"[❯](bold green)"` | The format string used before the text input if the previous command succeeded. |
-| `error_symbol` | `"[❯](bold red)"` | The format string used before the text input if the previous command failed. |
-| `vicmd_symbol` | `"[❮](bold green)"` | The format string used before the text input if the shell is in vim normal mode. |
-| `disabled` | `false` | Disables the `character` module. |
+| Option | Default | Description |
+| ---------------- | ------------------- | ----------------------------------------------------------------------------- |
+| `format` | `"$symbol "` | Le format utilisée avant l'entrée de texte. |
+| `success_symbol` | `"[❯](bold green)"` | Le format utilisé avant l'entrée de texte si la commande précédente a réussi. |
+| `error_symbol` | `"[❯](bold red)"` | Le format utilisé avant l'entrée de texte si la commande précédente a échoué. |
+| `vicmd_symbol` | `"[❮](bold green)"` | Le format utilisé avant l'entrée de texte si le shell est en mode vim normal. |
+| `disabled` | `false` | Désactive le module `character`. |
### Variables
-| Variable | Exemple | Description |
-| -------- | ------- | --------------------------------------------------------------------- |
-| symbol | | A mirror of either `success_symbol`, `error_symbol` or `vicmd_symbol` |
+| Variable | Exemple | Description |
+| -------- | ------- | --------------------------------------------------------------- |
+| symbol | | Reflète sois `success_symbol`, `error_symbol` ou `vicmd_symbol` |
### Examples
-#### With custom error shape
+#### Avec une forme d'erreur personnalisée
```toml
# ~/.config/starship.toml
@@ -391,7 +405,7 @@ success_symbol = "[➜](bold green) "
error_symbol = "[✗](bold red) "
```
-#### Without custom error shape
+#### Sans forme d'erreur personnalisée
```toml
# ~/.config/starship.toml
@@ -401,7 +415,7 @@ success_symbol = "[➜](bold green) "
error_symbol = "[➜](bold red) "
```
-#### With custom vim shape
+#### Avec une forme vim personnalisée
```toml
# ~/.config/starship.toml
@@ -414,28 +428,28 @@ vicmd_symbol = "[V](bold green) "
The `cmake` module shows the currently installed version of CMake if:
-- The current directory contains a `CMakeLists.txt` file
+- Le répertoire actuel contient un fichier `CMakeLists.txt`
### Options
-| Option | Default | Description |
-| ---------- | ---------------------------------- | -------------------------------------------- |
-| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
-| `symbol` | `"🛆 "` | The symbol used before the version of cmake. |
-| `style` | `"bold blue"` | Le style du module. |
-| `disabled` | `false` | Disables the `cmake` module. |
+| Option | Default | Description |
+| ---------- | ---------------------------------- | --------------------------------------------- |
+| `format` | `"via [$symbol$version]($style) "` | Format du module. |
+| `symbol` | `"🛆 "` | Le symbole utilisé avant la version de cmake. |
+| `style` | `"bold blue"` | Le style du module. |
+| `disabled` | `false` | Désactive le module `cmake`. |
### Variables
-| Variable | Exemple | Description |
-| --------- | --------- | ------------------------------------ |
-| version | `v3.17.3` | The version of cmake |
-| symbol | | Mirrors the value of option `symbol` |
-| style\* | | Mirrors the value of option `style` |
+| Variable | Exemple | Description |
+| --------- | --------- | -------------------------------------- |
+| version | `v3.17.3` | La version de cmake |
+| symbol | | Reflète la valeur de l'option `symbol` |
+| style\* | | Reflète la valeur de l'option `style` |
\*: This variable can only be used as a part of a style string
-## Command Duration
+## Temps d'exécution
The `cmd_duration` module shows how long the last command took to execute. The module will be shown only if the command took longer than two seconds, or the `min_time` config value, if it exists.
@@ -449,20 +463,20 @@ Bash users who need preexec-like functionality can use [rcaloras's bash_preexec
### Options
-| Option | Default | Description |
-| ------------------- | ----------------------------- | ---------------------------------------------------------- |
-| `min_time` | `2_000` | Shortest duration to show time for (in milliseconds). |
-| `show_milliseconds` | `false` | Show milliseconds in addition to seconds for the duration. |
-| `format` | `"took [$duration]($style) "` | The format for the module. |
-| `style` | `"bold yellow"` | Le style du module. |
-| `disabled` | `false` | Disables the `cmd_duration` module. |
+| Option | Default | Description |
+| ------------------- | ----------------------------- | ----------------------------------------------------------------- |
+| `min_time` | `2_000` | Durée la plus courte quand afficher le temps (en millisecondes). |
+| `show_milliseconds` | `false` | Afficher les millisecondes en plus des secondes pendant la durée. |
+| `format` | `"took [$duration]($style) "` | Format du module. |
+| `style` | `"bold yellow"` | Le style du module. |
+| `disabled` | `false` | Désactive le module `cmd_duration`. |
### Variables
-| Variable | Exemple | Description |
-| --------- | -------- | --------------------------------------- |
-| duration | `16m40s` | The time it took to execute the command |
-| style\* | | Mirrors the value of option `style` |
+| Variable | Exemple | Description |
+| --------- | -------- | --------------------------------------------- |
+| duration | `16m40s` | Le temps nécessaire pour exécuter la commande |
+| style\* | | Reflète la valeur de l'option `style` |
\*: This variable can only be used as a part of a style string
@@ -493,16 +507,17 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c
| `truncation_length` | `1` | The number of directories the environment path should be truncated to, if the environment was created via `conda create -p [path]`. `0` means no truncation. Also see the [`directory`](#directory) module. |
| `symbol` | `"🅒 "` | The symbol used before the environment name. |
| `style` | `"bold green"` | Le style du module. |
-| `format` | `"[$symbol$environment]($style) "` | The format for the module. |
+| `format` | `"[$symbol$environment]($style) "` | Format du module. |
+| `ignore_base` | `true` | Ignores `base` environment when activated. |
| `disabled` | `false` | Disables the `conda` module. |
### Variables
-| Variable | Exemple | Description |
-| ----------- | ------------ | ------------------------------------ |
-| environment | `astronauts` | The current conda environment |
-| symbol | | Mirrors the value of option `symbol` |
-| style\* | | Mirrors the value of option `style` |
+| Variable | Exemple | Description |
+| ----------- | ------------ | -------------------------------------- |
+| environment | `astronauts` | The current conda environment |
+| symbol | | Reflète la valeur de l'option `symbol` |
+| style\* | | Reflète la valeur de l'option `style` |
\*: This variable can only be used as a part of a style string
@@ -528,16 +543,16 @@ The `crystal` module shows the currently installed version of Crystal. Le module
| ---------- | ---------------------------------- | --------------------------------------------------------- |
| `symbol` | `"🔮 "` | The symbol used before displaying the version of crystal. |
| `style` | `"bold green"` | Le style du module. |
-| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
+| `format` | `"via [$symbol$version]($style) "` | Format du module. |
| `disabled` | `false` | Disables the `crystal` module. |
### Variables
-| Variable | Exemple | Description |
-| --------- | --------- | ------------------------------------ |
-| version | `v0.32.1` | The version of `crystal` |
-| symbol | | Mirrors the value of option `symbol` |
-| style\* | | Mirrors the value of option `style` |
+| Variable | Exemple | Description |
+| --------- | --------- | -------------------------------------- |
+| version | `v0.32.1` | The version of `crystal` |
+| symbol | | Reflète la valeur de l'option `symbol` |
+| style\* | | Reflète la valeur de l'option `style` |
\*: This variable can only be used as a part of a style string
@@ -550,6 +565,42 @@ The `crystal` module shows the currently installed version of Crystal. Le module
format = "via [✨ $version](bold blue) "
```
+## Dart
+
+The `dart` module shows the currently installed version of Dart. Le module est affiché si l'une des ces conditions est remplie :
+
+- The current directory contains a file with `.dart` extension
+- The current directory contains a `.dart_tool` directory
+- The current directory contains a `pubspec.yaml` or `pubspec.lock` file
+
+### Options
+
+| Variable | Default | Description |
+| ---------- | ---------------------------------- | ----------------------------------------------- |
+| `format` | `"via [$symbol$version]($style) "` | Format du module. |
+| `symbol` | `"🎯 "` | A format string representing the symbol of Dart |
+| `style` | `"bold blue"` | Le style du module. |
+| `disabled` | `false` | Disables the `dart` module. |
+
+### Variables
+
+| Variable | Exemple | Description |
+| --------- | -------- | -------------------------------------- |
+| version | `v2.8.4` | The version of `dart` |
+| symbol | | Reflète la valeur de l'option `symbol` |
+| style\* | | Reflète la valeur de l'option `style` |
+
+\*: This variable can only be used as a part of a style string
+
+### Exemple
+
+```toml
+# ~/.config/starship.toml
+
+[dart]
+format = "via [🔰 $version](bold red) "
+```
+
## Directory
The `directory` module shows the path to your current directory, truncated to three parent folders. Your directory will also be truncated to the root of the git repo that you're currently in.
@@ -560,11 +611,11 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
### Options
-| Variable | Default | Description |
+| Variable | Défaut | Description |
| ------------------------ | ----------------------------------------------- | -------------------------------------------------------------------------------- |
| `truncation_length` | `3` | The number of parent folders that the current directory should be truncated to. |
| `truncate_to_repo` | `true` | Whether or not to truncate to the root of the git repo that you're currently in. |
-| `format` | `"[$path]($style)[$lock_symbol]($lock_style) "` | The format for the module. |
+| `format` | `"[$path]($style)[$lock_symbol]($lock_style) "` | Format du module. |
| `style` | `"bold cyan"` | Le style du module. |
| `disabled` | `false` | Disables the `directory` module. |
| `read_only_symbol` | `"🔒"` | The symbol indicating current directory is read only. |
@@ -593,10 +644,10 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
### Variables
-| Variable | Exemple | Description |
-| --------- | --------------------- | ----------------------------------- |
-| path | `"D:/Projects"` | The current directory path |
-| style\* | `"black bold dimmed"` | Mirrors the value of option `style` |
+| Variable | Exemple | Description |
+| --------- | --------------------- | ------------------------------------- |
+| path | `"D:/Projects"` | The current directory path |
+| style\* | `"black bold dimmed"` | Reflète la valeur de l'option `style` |
\*: This variable can only be used as a part of a style string
@@ -617,7 +668,7 @@ The `docker_context` module shows the currently active [Docker context](https://
| Option | Default | Description |
| ----------------- | ---------------------------------- | --------------------------------------------------------------------------------------- |
-| `format` | `"via [$symbol$context]($style) "` | The format for the module. |
+| `format` | `"via [$symbol$context]($style) "` | Format du module. |
| `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. |
| `style` | `"blue bold"` | Le style du module. |
| `only_with_files` | `false` | Only show when there's a `docker-compose.yml` or `Dockerfile` in the current directory. |
@@ -625,11 +676,11 @@ The `docker_context` module