summaryrefslogtreecommitdiffstats
path: root/docs/fr-FR
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-10-13 15:09:01 -0400
committerGitHub <noreply@github.com>2020-10-13 15:09:01 -0400
commit02f741882099da48d9f4cf7936e1bb025bb44929 (patch)
tree54f259e3388be922d573d767aa760a9b6ed726e5 /docs/fr-FR
parent4de9e43cff46c834bd340d24a02fc95d85310a33 (diff)
docs(i18n): new Crowdin updates (#1719)
Diffstat (limited to 'docs/fr-FR')
-rw-r--r--docs/fr-FR/config/README.md224
-rw-r--r--docs/fr-FR/faq/README.md50
-rw-r--r--docs/fr-FR/guide/README.md2
-rw-r--r--docs/fr-FR/migrating-to-0.45.0/README.md30
4 files changed, 154 insertions, 152 deletions
diff --git a/docs/fr-FR/config/README.md b/docs/fr-FR/config/README.md
index 7d3929505..c105a0b53 100644
--- a/docs/fr-FR/config/README.md
+++ b/docs/fr-FR/config/README.md
@@ -234,13 +234,13 @@ Quand [aws-vault](https://github.com/99designs/aws-vault) est utilisé, la valeu
### Options
-| 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`. |
+| 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
@@ -261,7 +261,7 @@ Quand [aws-vault](https://github.com/99designs/aws-vault) est utilisé, la valeu
# ~/.config/starship.toml
[aws]
-format = "on [$symbol$profile(\\($region\\))]($style) "
+format = 'on [$symbol$profile(\($region\))]($style) '
style = "bold blue"
symbol = "🅰 "
[aws.region_aliases]
@@ -346,7 +346,7 @@ style = "bold red"
L'option `display` est une array de la table suivante.
-| Variable | Description |
+| Option | Description |
| ----------- | -------------------------------------------------- |
| `threshold` | La limite supérieure pour l'option d'affichage. |
| `style` | Le style de l'option display si elle est utilisée. |
@@ -575,7 +575,7 @@ The `dart` module shows the currently installed version of Dart. Le module est a
### Options
-| Variable | Default | Description |
+| Option | Default | Description |
| ---------- | ---------------------------------- | ----------------------------------------------- |
| `format` | `"via [$symbol$version]($style) "` | Format du module. |
| `symbol` | `"🎯 "` | A format string representing the symbol of Dart |
@@ -611,7 +611,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
### Options
-| Variable | Défaut | Description |
+| Option | 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. |
@@ -620,6 +620,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
| `disabled` | `false` | Disables the `directory` module. |
| `read_only` | `"🔒"` | The symbol indicating current directory is read only. |
| `read_only_style` | `"red"` | The style for the read only symbol. |
+| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" |
<details>
<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
@@ -658,6 +659,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
[directory]
truncation_length = 8
+truncation_symbol = "…/"
```
## Docker Context
@@ -755,12 +757,12 @@ The `elixir` module shows the currently installed version of Elixir and Erlang/O
### Options
-| Option | Default | Description |
-| ---------- | ------------------------------------------------------------- | --------------------------------------------------------------- |
-| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
-| `style` | `"bold purple"` | Le style du module. |
-| `format` | `"via [$symbol$version \\(OTP $otp_version\\)]($style) "` | The format for the module elixir. |
-| `disabled` | `false` | Disables the `elixir` module. |
+| Option | Default | Description |
+| ---------- | --------------------------------------------------------- | --------------------------------------------------------------- |
+| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
+| `style` | `"bold purple"` | Le style du module. |
+| `format` | `'via [$symbol$version \(OTP $otp_version\)]($style) '` | The format for the module elixir. |
+| `disabled` | `false` | Disables the `elixir` module. |
### Variables
@@ -898,13 +900,13 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud
### Options
-| Variable | Default | Description |
-| ---------------- | ---------------------------------------------------- | --------------------------------------------------------------- |
-| `format` | `"on [$symbol$account(\\($region\\))]($style) "` | Format du module. |
-| `symbol` | `"☁️ "` | The symbol used before displaying the current GCP profile. |
-| `region_aliases` | | Table of region aliases to display in addition to the GCP name. |
-| `style` | `"bold blue"` | Le style du module. |
-| `disabled` | `false` | Disables the `gcloud` module. |
+| Option | Default | Description |
+| ---------------- | ------------------------------------------------ | --------------------------------------------------------------- |
+| `format` | `'on [$symbol$account(\($region\))]($style) '` | Format du module. |
+| `symbol` | `"☁️ "` | The symbol used before displaying the current GCP profile. |
+| `region_aliases` | | Table of region aliases to display in addition to the GCP name. |
+| `style` | `"bold blue"` | Le style du module. |
+| `disabled` | `false` | Disables the `gcloud` module. |
### Variables
@@ -927,7 +929,7 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud
# ~/.config/starship.toml
[gcloud]
-format = "on [$symbol$account(\\($project\\))]($style) "
+format = 'on [$symbol$account(\($project\))]($style) '
```
#### Display active config name only
@@ -994,13 +996,13 @@ The `git_commit` module shows the current commit hash of the repo in your curren
### Options
-| Option | Default | Description |
-| -------------------- | ------------------------------ | ----------------------------------------------------- |
-| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
-| `format` | `"[\\($hash\\)]($style) "` | Format du module. |
-| `style` | `"bold green"` | Le style du module. |
-| `only_detached` | `true` | Only show git commit hash when in detached HEAD state |
-| `disabled` | `false` | Disables the `git_commit` module. |
+| Option | Default | Description |
+| -------------------- | -------------------------- | ----------------------------------------------------- |
+| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
+| `format` | `'[\($hash\)]($style) '` | Format du module. |
+| `style` | `"bold green"` | Le style du module. |
+| `only_detached` | `true` | Only show git commit hash when in detached HEAD state |
+| `disabled` | `false` | Disables the `git_commit` module. |
### Variables
@@ -1026,18 +1028,18 @@ The `git_state` module will show in directories which are part of a git reposito
### Options
-| Option | Défaut | Description |
-| -------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
-| `rebase` | `"REBASING"` | A format string displayed when a `rebase` is in progress. |
-| `merge` | `"MERGING"` | A format string displayed when a `merge` is in progress. |
-| `revert` | `"REVERTING"` | A format string displayed when a `revert` is in progress. |
-| `cherry_pick` | `"CHERRY-PICKING"` | A format string displayed when a `cherry-pick` is in progress. |
-| `bisect` | `"BISECTING"` | A format string displayed when a `bisect` is in progress. |
-| `am` | `"AM"` | A format string displayed when an `apply-mailbox` (`git am`) is in progress. |
-| `am_or_rebase` | `"AM/REBASE"` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. |
-| `style` | `"bold yellow"` | Le style du module. |
-| `format` | `"\\([$state( $progress_current/$progress_total)]($style)\\) "` | Format du module. |
-| `disabled` | `false` | Disables the `git_state` module. |
+| Option | Défaut | Description |
+| -------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
+| `rebase` | `"REBASING"` | A format string displayed when a `rebase` is in progress. |
+| `merge` | `"MERGING"` | A format string displayed when a `merge` is in progress. |
+| `revert` | `"REVERTING"` | A format string displayed when a `revert` is in progress. |
+| `cherry_pick` | `"CHERRY-PICKING"` | A format string displayed when a `cherry-pick` is in progress. |
+| `bisect` | `"BISECTING"` | A format string displayed when a `bisect` is in progress. |
+| `am` | `"AM"` | A format string displayed when an `apply-mailbox` (`git am`) is in progress. |
+| `am_or_rebase` | `"AM/REBASE"` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. |
+| `style` | `"bold yellow"` | Le style du module. |
+| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Format du module. |
+| `disabled` | `false` | Disables the `git_state` module. |
### Variables
@@ -1056,7 +1058,7 @@ The `git_state` module will show in directories which are part of a git reposito
# ~/.config/starship.toml
[git_state]
-format = "[\\($state( $progress_current of $progress_total)\\)]($style) "
+format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = "[🍒 PICKING](bold red)"
```
@@ -1066,21 +1068,21 @@ The `git_status` module shows symbols representing the state of the repo in your
### Options
-| Option | Défaut | Description |
-| ------------ | --------------------------------------------- | ----------------------------------- |
-| `format` | `"[\[$all_status$ahead_behind\]]($style) "` | The default format for `git_status` |
-| `conflicted` | `"="` | This branch has merge conflicts. |
-| `ahead` | `"⇡"` | The format of `ahead` |
-| `behind` | `"⇣"` | The format of `behind` |
-| `diverged` | `"⇕"` | The format of `diverged` |
-| `untracked` | `"?"` | The format of `untracked` |
-| `stashed` | `"$"` | The format of `stashed` |
-| `modified` | `"!"` | The format of `modified` |
-| `staged` | `"+"` | The format of `staged` |
-| `renamed` | `"»"` | The format of `renamed` |
-| `deleted` | `"✘"` | The format of `deleted` |
-| `style` | `"bold green"` | Le style du module. |
-| `disabled` | `false` | Disables the `git_status` module. |
+| Option | Défaut | Description |
+| ------------ | ----------------------------------------------- | ----------------------------------- |
+| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
+| `conflicted` | `"="` | This branch has merge conflicts. |
+| `ahead` | `"⇡"` | The format of `ahead` |
+| `behind` | `"⇣"` | The format of `behind` |
+| `diverged` | `"⇕"` | The format of `diverged` |
+| `untracked` | `"?"` | The format of `untracked` |
+| `stashed` | `"$"` | The format of `stashed` |
+| `modified` | `"!"` | The format of `modified` |
+| `staged` | `"+"` | The format of `staged` |
+| `renamed` | `"»"` | The format of `renamed` |
+| `deleted` | `"✘"` | The format of `deleted` |
+| `style` | `"bold green"` | Le style du module. |
+| `disabled` | `false` | Disables the `git_status` module. |
### Variables
@@ -1371,14 +1373,13 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
### Options
-| Option | Défaut | Description |
-| ----------------------- | -------------------------------------------------------- | --------------------------------------------------------------------- |
-| `symbol` | `"☸ "` | A format string representing the symbol displayed before the Cluster. |
-| `format` | `"[$symbol$context( \\($namespace\\))]($style) in "` | Format du module. |
-| `style` | `"cyan bold"` | Le style du module. |
-| `namespace_spaceholder` | `none` | The value to display if no namespace was found. |
-| `context_aliases` | | Table of context aliases to display. |
-| `disabled` | `true` | Disables the `kubernetes` module. |
+| Option | Défaut | Description |
+| ----------------- | ---------------------------------------------------- | --------------------------------------------------------------------- |
+| `symbol` | `"☸ "` | A format string representing the symbol displayed before the Cluster. |
+| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | Format du module. |
+| `style` | `"cyan bold"` | Le style du module. |
+| `context_aliases` | | Table of context aliases to display. |
+| `disabled` | `true` | Disables the `kubernetes` module. |
### Variables
@@ -1397,7 +1398,7 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
# ~/.config/starship.toml
[kubernetes]
-format = "on [⛵ $context \\($namespace\\)](dimmed green) "
+format = 'on [⛵ $context \($namespace\)](dimmed green) '
disabled = false
[kubernetes.context_aliases]
"dev.local.cluster.k8s" = "dev"
@@ -1552,14 +1553,14 @@ The `nix_shell` module shows the nix-shell environment. The module will be shown
### Options
-| Option | Default | Description |
-| ------------ | -------------------------------------------------- | ----------------------------------------------------- |
-| `format` | `"via [$symbol$state( \\($name\\))]($style) "` | Format du module. |
-| `symbol` | `"❄️ "` | A format string representing the symbol of nix-shell. |
-| `style` | `"bold blue"` | Le style du module. |
-| `impure_msg` | `"impure"` | A format string shown when the shell is impure. |
-| `pure_msg` | `"pure"` | A format string shown when the shell is pure. |
-| `disabled` | `false` | Disables the `nix_shell` module. |
+| Option | Default | Description |
+| ------------ | ---------------------------------------------- | ----------------------------------------------------- |
+| `format` | `'via [$symbol$state( \($name\))]($style) '` | Format du module. |
+| `symbol` | `"❄️ "` | A format string representing the symbol of nix-shell. |
+| `style` | `"bold blue"` | Le style du module. |
+| `impure_msg` | `"impure"` | A format string shown when the shell is impure. |
+| `pure_msg` | `"pure"` | A format string shown when the shell is pure. |
+| `disabled` | `false` | Disables the `nix_shell` module. |
### Variables
@@ -1581,7 +1582,7 @@ The `nix_shell` module shows the nix-shell environment. The module will be shown
disabled = true
impure_msg = "[impure shell](bold red)"
pure_msg = "[pure shell](bold green)"
-format = "via [☃️ $state( \\($name\\))](bold blue) "
+format = 'via [☃️ $state( \($name\))](bold blue) '
```
## NodeJS
@@ -1718,7 +1719,7 @@ The `perl` module shows the currently installed version of Perl. Le module est a
### Options
-| Variable | Default | Description |
+| Option | Default | Description |
| ---------- | ---------------------------------- | ----------------------------------------------------- |
| `format` | `"via [$symbol$version]($style) "` | The format string for the module. |
| `symbol` | `"🐪 "` | The symbol used before displaying the version of Perl |
@@ -1798,15 +1799,16 @@ Le module est affiché si l'une des ces conditions est remplie :
### Options
-| Option | Défaut | Description |
-| -------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
-| `format` | `"via [${symbol}${pyenv_prefix}${version}( \\($virtualenv\\))]($style) "` | Format du module. |
-| `symbol` | `"🐍 "` | A format string representing the symbol of Python |
-| `style` | `"yellow bold"` | Le style du module. |
-| `pyenv_version_name` | `false` | Use pyenv to get Python version |
-| `pyenv_prefix` | `pyenv` | Prefix before pyenv version display, only used if pyenv is used |
-| `scan_for_pyfiles` | `true` | If false, Python files in the current directory will not show this module. |
-| `disabled` | `false` | Disables the `python` module. |
+| Option | Défaut | Description |
+| -------------------- | ------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
+| `format` | `'via [${symbol}${pyenv_prefix}${version}( \($virtualenv\))]($style) '` | Format du module. |
+| `symbol` | `"🐍 "` | A format string representing the symbol of Python |
+| `style` | `"yellow bold"` | Le style du module. |
+| `pyenv_version_name` | `false` | Use pyenv to get Python version |
+| `pyenv_prefix` | `pyenv` | Prefix before pyenv version display, only used if pyenv is used |
+| `scan_for_pyfiles` | `true` | If false, Python files in the current directory will not show this module. |
+| `python_binary` | `python` | Configures the python binary that Starship executes when getting the version. |
+| `disabled` | `false` | Disables the `python` module. |
### Variables
@@ -1818,32 +1820,26 @@ Le module est affiché si l'une des ces conditions est remplie :
| pyenv_prefix | `"pyenv "` | Mirrors the value of option `pyenv_prefix` |
| virtualenv | `"venv"` | The current `virtualenv` name |
-<details>
-<summary>This module has some advanced configuration options.</summary>
-
-| Variable | Défaut | Description |
-| --------------- | -------- | ----------------------------------------------------------------------------- |
-| `python_binary` | `python` | Configures the python binary that Starship executes when getting the version. |
-The `python_binary` variable changes the binary that Starship executes to get the version of Python, it doesn't change the arguments that are used.
+### Exemple
```toml
# ~/.config/starship.toml
[python]
-python_binary = "python3"
+symbol = "👾 "
+pyenv_version_name = true
```
-</details>
+Using the `python3` binary to get the version.
-### Exemple
+Note - The `python_binary` variable changes the binary that Starship executes to get the version of Python, it doesn't change the arguments that are used.
```toml
# ~/.config/starship.toml
[python]
-symbol = "👾 "
-pyenv_version_name = true
+python_binary = "python3"
```
## Ruby
@@ -1856,7 +1852,7 @@ The `ruby` module shows the currently installed version of Ruby. Le module est a
### Options
-| Option | Default | Description |
+| Option | Défaut | Description |
| ---------- | ---------------------------------- | ------------------------------------------------ |
| `format` | `"via [$symbol$version]($style) "` | Format du module. |
| `symbol` | `"💎 "` | A format string representing the symbol of Ruby. |
@@ -1891,7 +1887,7 @@ The `rust` module shows the currently installed version of Rust. Le module est a
### Options
-| Option | Default | Description |
+| Option | Défaut | Description |
| ---------- | ---------------------------------- | ----------------------------------------------- |
| `format` | `"via [$symbol$version]($style) "` | Format du module. |
| `symbol` | `"🦀 "` | A format string representing the symbol of Rust |
@@ -1923,7 +1919,7 @@ The `shlvl` module shows the current SHLVL ("shell level") environment variable,
### Options
-| Variable | Default | Description |
+| Option | Défaut | Description |
| ----------- | ---------------------------- | --------------------------------------- |
| `threshold` | `2` | Display threshold. |
| `format` | `"[$symbol$shlvl]($style) "` | Format du module. |
@@ -1958,12 +1954,12 @@ The `singularity` module shows the current singularity image, if inside a contai
### Options
-| Option | Default | Description |
-| ---------- | ------------------------------------ | ------------------------------------------------ |
-| `format` | `"[$symbol\\[$env\\]]($style) "` | Format du module. |
-| `symbol` | `""` | A format string displayed before the image name. |
-| `style` | `"bold dimmed blue"` | Le style du module. |
-| `disabled` | `false` | Disables the `singularity` module. |
+| Option | Défaut | Description |
+| ---------- | -------------------------------- | ------------------------------------------------ |
+| `format` | `'[$symbol\[$env\]]($style) '` | Format du module. |
+| `symbol` | `""` | A format string displayed before the image name. |
+| `style` | `"bold dimmed blue"` | Le style du module. |
+| `disabled` | `false` | Disables the `singularity` module. |
### Variables
@@ -1981,7 +1977,7 @@ The `singularity` module shows the current singularity image, if inside a contai
# ~/.config/starship.toml
[singularity]
-format = "[📦 \\[$env\\]]($style) "
+format = '[📦 \[$env\]]($style) '
```
## Swift
@@ -1993,7 +1989,7 @@ The `swift` module shows the currently installed version of Swift. Le module est
### Options
-| Option | Default | Description |
+| Option | Défaut | Description |
| ---------- | ---------------------------------- | ------------------------------------------------ |
| `format` | `"via [$symbol$version]($style) "` | Format du module. |
| `symbol` | `"🐦 "` | A format string representing the symbol of Swift |
@@ -2029,7 +2025,7 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
### Options
-| Variable | Default | Description |
+| Option | Défaut | Description |
| ---------- | -------------------------- | ------------------------------------------------------ |
| `format` | `[$symbol$status]($style)` | The format of the module |
| `symbol` | `"✖"` | A format string representing the symbol for the status |
@@ -2055,7 +2051,7 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
[status]
style = "bg:blue"
symbol = "💣 "
-format = "[\\[$symbol$status\\]]($style) "
+format = '[\[$symbol$status\]]($style) '
disabled = false
```
@@ -2147,7 +2143,7 @@ If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Sinon, il est d
[time]
disabled = false
-format = "🕙[\\[ $time \\]]($style) "
+format = '🕙[\[ $time \]]($style) '
time_format = "%T"
utc_time_offset = "-5"
time_range = "10:00:00-14:00:00"
diff --git a/docs/fr-FR/faq/README.md b/docs/fr-FR/faq/README.md
index 01bc562b7..907507e96 100644
--- a/docs/fr-FR/faq/README.md
+++ b/docs/fr-FR/faq/README.md
@@ -10,16 +10,20 @@
- **Configuration**: [Dotfiles de matchai](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
- **Invite de commande**: [Starship](https://starship.rs/)
+## Comment puis-je obtenir la complétion de commandes comme montré dans le GIF de démo?
+
+Le support de complétion est fourni par le shell de votre choix. Dans le cas de la démo, elle a été faite avec [Fish Shell](https://fishshell.com/), qui fournit des complétions par défaut. Si vous utilisez le Shell Z (zsh), vous pouvez jeter un œil à [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions).
+
## Est-ce que l'option globale `format` et `<module>.disabled` font la même chose ?
Oui, ils peuvent tous deux être utilisés pour désactiver les modules dans l'invite de commande. Si tout ce que vous prévoyez de faire est de désactiver les modules, `<module>.disabled` est le meilleur moyen de le faire pour ces raisons :
-- Disabling modules is more explicit than omitting them from the top level `format`
+- Désactiver les modules est plus explicite que de les omettre du `format global`
- Les modules nouvellement créés seront ajoutés à l'invite de commande au fur et à mesure que Starship sera mis à jour
-## La doc dit que Starship est cross-shell, mais il ne supporte pas X shell. Pourquoi ?
+## La doc dit que Starship est cross-shell, mais il ne supporte pas le shell X. Pourquoi ?
-Étant donné la façon dont Starship est construit, il devrait être possible d'ajouter le support pour pratiquement n'importe quel shell. Le binaire de Starship est sans état et agnostique, donc tant que votre shell supporte la personnalisation rapide et l'expansion du shell, Starship peut être utilisé.
+Étant donné la façon dont Starship est construit, il devrait être possible d'ajouter le support pour pratiquement n'importe quel shell. Starship est sans état et agnostique, donc tant que votre shell supporte la personnalisation rapide et l'expansion, Starship peut être utilisé.
Voici un petit exemple pour que Starship fonctionne avec bash :
@@ -30,59 +34,59 @@ STATUS=$?
# Récupère le nombre de tâches en cours d'exécution.
NUM_JOBS=$(jobs -p | wc -l)
-# Set the prompt to the output of `starship prompt`
+# Définit l'invite de commande a `starship prompt`
PS1="$(starship prompt --status=$STATUS --jobs=$NUM_JOBS)"
```
-[L'implémentation Bash](https://github.com/starship/starship/blob/master/src/init/starship.bash) intégrée dans Starship est légèrement plus complexe pour permettre des fonctionnalités avancées comme le [module Durée de commande](https://starship.rs/config/#Command-Duration) et pour s'assurer que Starship est compatible avec les configurations Bash préinstallées.
+L' [implémentation Bash](https://github.com/starship/starship/blob/master/src/init/starship.bash) intégrée à Starship est légèrement plus complexe pour permettre des fonctionnalités avancées comme le [module de durée de commande](https://starship.rs/config/#Command-Duration) et pour s'assurer que Starship est compatible avec les configurations Bash pré-installées.
-Pour une liste de tous les flags acceptés par `starship prompt`, utilisez la commande suivante :
+Pour une liste de tous les flags acceptés par `starship`, utilisez la commande suivante :
```sh
starship prompt --help
```
-L'invite de commande utilisera toutes les données contextuelles fournies, mais aucun indicateur n'est "requis".
+L'invite utilisera autant de contexte que possible, mais aucun paramètre n'est "requis".
## Comment utiliser Starship sur des distributions Linux avec des versions de glibc plus ancienne ?
-Si vous obtenez une erreur du type "_version 'GLIBC_2.18' not found (required by starship)_" lors de l'utilisation du binaire précompilé (par exemple sur CentOS 6 ou 7), vous pouvez utiliser un binaire compilé avec `musl` au lieu de `glibc`:
+Si vous obtenez une erreur du type "_version 'GLIBC_2.18' not found (required by starship)_" lors de l'utilisation de l'exécutable précompilé (par exemple sur CentOS 6 ou 7), vous pouvez utiliser un exécutable compilé avec `musl` au lieu de `glibc`:
```sh
curl -fsSL https://starship.rs/install.sh | bash -s -- --platform unknown-linux-musl
```
-## Why don't I see a glyph symbol in my prompt?
+## Pourquoi ne vois-je pas de glyphe dans mon invite?
-The most common cause of this is system misconfiguration. Some Linux distros in particular do not come with font support out-of-the-box. You need to ensure that:
+La cause la plus commune est la mauvaise configuration du système. Certaines distributions Linux ne sont pas équipées du support de police 'out of the box'. Vous devez vous assurer que:
-- Your locale is set to a UTF-8 value, like `de_DE.UTF-8` or `ja_JP.UTF-8`. If `LC_ALL` is not a UTF-8 value, [you will need to change it](https://www.tecmint.com/set-system-locales-in-linux/).
-- You have an emoji font installed. Most systems come with an emoji font by default, but some (notably Arch Linux) do not. You can usually install one through your system's package manager--[noto emoji](https://www.google.com/get/noto/help/emoji/) is a popular choice.
-- You are using a [Nerd Font](https://www.nerdfonts.com/).
+- Votre locale est définie à une valeur UTF-8, comme `de_DE.UTF-8` ou `ja_JP.UTF-8`. Si `LC_ALL` n'est pas une valeur UTF-8, [vous aurez besoin de la modifier](https://www.tecmint.com/set-system-locales-in-linux/).
+- Vous avez une police emoji installée. La plupart des systèmes sont fournis avec une police emoji par défaut, mais certains (notamment Arch Linux) ne le font pas. Vous pouvez habituellement en installer un par le biais du gestionnaire de paquets de votre système -[noto emoji](https://www.google.com/get/noto/help/emoji/) est un choix populaire.
+- Vous utilisez une police [Nerd Font](https://www.nerdfonts.com/).
-To test your system, run the following commands in a terminal:
+Pour tester votre système, exécutez les commandes suivantes dans un terminal :
```sh
echo -e "\xf0\x9f\x90\x8d"
echo -e "\xee\x82\xa0"
```
-The first line should produce a [snake emoji](https://emojipedia.org/snake/), while the second should produce a [powerline branch symbol (e0a0)](https://github.com/ryanoasis/powerline-extra-symbols#glyphs).
+La première ligne doit produire un emoji [serpent](https://emojipedia.org/snake/), tandis que la seconde doit produire un symbole [de branche powerline (e0a0)](https://github.com/ryanoasis/powerline-extra-symbols#glyphs).
-If either symbol fails to display correctly, your system is still misconfigured. Unfortunately, getting font configuration correct is sometimes difficult. Users on the Discord may be able to help. If both symbols display correctly, but you still don't see them in starship, [file a bug report!](https://github.com/starship/starship/issues/new/choose)
+Si l'un ou l'autre des symboles ne parvient pas à s'afficher correctement, votre système est toujours mal configuré. Malheureusement, il est parfois difficile d'obtenir une configuration correcte. Les utilisateurs sur Discord peuvent être en mesure d'aider. Si les deux symboles s'affichent correctement, mais vous ne les voyez toujours pas dans starship, [soumettez un rapport de bogue !](https://github.com/starship/starship/issues/new/choose)
-## How do I uninstall Starship?
+## Comment désinstaller Starship ?
-Starship is just as easy to uninstall as it is to install in the first place.
+Starship est tout aussi facile à désinstaller que d'installer.
-1. Remove any lines in your shell config (e.g. `~/.bashrc`) used to initialize Starship.
-1. Delete the Starship binary.
+1. Supprimez les lignes de la configuration de votre shell (par exemple `~/.bashrc`) utilisées pour initialiser Starship.
+1. Supprimer l'exécutable de Starship.
-If Starship was installed using a package manager, please refer to their docs for uninstallation instructions.
+Si Starship a été installé à l'aide d'un gestionnaire de paquets, veuillez vous référer à leur documentation pour les instructions de désinstallation.
-If Starship was installed using the `curl | bash` script, the following command will delete the binary:
+Si Starship a été installé en utilisant le script `curl | bash` , la commande suivante supprimera l'exécutable :
```sh
-# Locate and delete the starship binary