Files
starship/docs/fr-FR/guide/README.md
T

320 lines
11 KiB
Markdown
Raw Normal View History

<p align="center">
2020-04-03 12:35:39 -04:00
<img
width="400"
src="https://raw.githubusercontent.com/starship/starship/master/media/logo.png"
2021-03-15 13:18:42 -04:00
alt="Starship Prompt Shell multi-platformes"
/>
</p>
2020-04-03 12:35:39 -04:00
<p align="center">
2019-10-11 17:31:19 +09:00
<a href="https://github.com/starship/starship/actions"
><img
2020-04-03 12:35:39 -04:00
src="https://img.shields.io/github/workflow/status/starship/starship/Main workflow/master?label=workflow&style=flat-square"
2021-03-15 13:18:42 -04:00
alt="Statut du workflow actions GitHub"
/></a>
2019-10-11 17:31:19 +09:00
<a href="https://crates.io/crates/starship"
2020-04-03 12:35:39 -04:00
><img
src="https://img.shields.io/crates/v/starship?style=flat-square"
2021-03-15 13:18:42 -04:00
alt="Version Crates.io"
/></a>
2019-10-11 17:31:19 +09:00
<a href="https://repology.org/project/starship/versions"
><img
2020-04-03 12:35:39 -04:00
src="https://img.shields.io/repology/repositories/starship?label=in%20repositories&style=flat-square"
alt="Statut du package" /></a
><br />
2021-02-21 14:13:18 -05:00
<a href="https://discord.gg/starship"
2019-10-11 17:31:19 +09:00
><img
2020-04-03 12:35:39 -04:00
src="https://img.shields.io/discord/567163873606500352?label=discord&logoColor=white&style=flat-square"
2021-03-15 13:18:42 -04:00
alt="Discuter sur Discord"
/></a>
2020-04-03 12:35:39 -04:00
<a href="https://twitter.com/StarshipPrompt"
><img
src="https://img.shields.io/badge/twitter-@StarshipPrompt-1DA1F3?style=flat-square"
2021-03-15 13:18:42 -04:00
alt="Suivez @StarshipPrompt sur Twitter"
/></a>
</p>
2019-10-11 17:31:19 +09:00
2020-04-03 12:35:39 -04:00
<p align="center">
<a href="https://starship.rs">Site web</a>
·
<a href="#🚀-installation">Installation</a>
·
<a href="https://starship.rs/config/">Configuration</a>
2020-04-03 12:35:39 -04:00
</p>
2019-10-11 17:31:19 +09:00
<p align="center">
<a href="https://github.com/starship/starship/blob/master/README.md"
2020-04-03 12:35:39 -04:00
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-us.png"
2021-03-15 13:18:42 -04:00
alt="English"
/></a>
2019-12-06 17:07:57 -05:00
&nbsp;
2020-04-03 12:35:39 -04:00
<a
href="https://github.com/starship/starship/blob/master/docs/ja-JP/guide/README.md"
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-jp.png"
2021-03-15 13:18:42 -04:00
alt="日本語"
/></a>
2019-12-06 17:07:57 -05:00
&nbsp;
2020-04-03 12:35:39 -04:00
<a
href="https://github.com/starship/starship/blob/master/docs/zh-TW/guide/README.md"
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-tw.png"
2021-03-15 13:18:42 -04:00
alt="繁體中文"
/></a>
2019-12-06 17:07:57 -05:00
&nbsp;
2020-04-03 12:35:39 -04:00
<a
href="https://github.com/starship/starship/blob/master/docs/ru-RU/guide/README.md"
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-ru.png"
2021-03-15 13:18:42 -04:00
alt="Русский"
/></a>
2020-01-21 11:15:25 -05:00
&nbsp;
2020-04-03 12:35:39 -04:00
<a
href="https://github.com/starship/starship/blob/master/docs/de-DE/guide/README.md"
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-de.png"
2021-03-15 13:18:42 -04:00
alt="Deutsch"
/></a>
2020-01-23 11:27:26 -05:00
&nbsp;
2020-04-03 12:35:39 -04:00
<a
href="https://github.com/starship/starship/blob/master/docs/zh-CN/guide/README.md"
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png"
2021-03-15 13:18:42 -04:00
alt="简体中文"
/></a>
2019-12-06 17:07:57 -05:00
&nbsp;
2021-04-05 10:55:57 -04:00
<a
2021-01-03 03:56:07 -05:00
href="https://github.com/starship/starship/blob/master/docs/es-ES/guide/README.md"
2020-04-03 12:35:39 -04:00
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-es.png"
2021-03-15 13:18:42 -04:00
alt="Espagnol"
/></a>
2020-01-15 12:23:25 -05:00
&nbsp;
2021-04-05 10:55:57 -04:00
<a
2021-01-03 03:56:07 -05:00
href="https://github.com/starship/starship/blob/master/docs/fr-FR/guide/README.md"
2020-04-03 12:35:39 -04:00
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png"
2021-03-15 13:18:42 -04:00
alt="Français"
/></a>
2021-02-06 12:46:15 -05:00
&nbsp;
2021-04-05 10:55:57 -04:00
<a
2021-02-06 12:46:15 -05:00
href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md"
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-vn.png"
2021-03-15 13:18:42 -04:00
alt="Tiếng Việt"
/></a>
2019-10-11 17:31:19 +09:00
</p>
<h1></h1>
2020-04-03 12:35:39 -04:00
<img
src="https://raw.githubusercontent.com/starship/starship/master/media/demo.gif"
alt="Starship avec iTerm2 et le thème Snazzy"
width="50%"
2021-03-15 13:18:42 -04:00
align="right"
/>
2020-04-03 12:35:39 -04:00
**L'invite minimaliste, ultra-rapide et personnalisable à l'infini pour n'importe quel shell !**
- **Rapide** : il est rapide - _vraiment vraiment_ rapide ! 🚀
2021-04-22 17:12:09 -04:00
- **Personnalisable:** configurez chaque élément de votre invite.
2020-04-03 12:35:39 -04:00
- **Universel:** fonctionne avec n'importe quel shell, sur n'importe quel système d'exploitation.
2020-09-30 16:26:13 -04:00
- **Intelligent:** affiche les informations utiles en un coup d'œil.
2020-04-03 12:35:39 -04:00
- **Riche en fonctionnalités:** supporte tous vos outils favoris.
2021-04-22 17:12:09 -04:00
- **Facile:** rapide à installer - commencez à l'utiliser en quelques minutes.
<p align="center">
2021-04-22 17:12:09 -04:00
<a href="https://starship.rs/config/"><strong>Consultez la documentation de Starship&nbsp;&nbsp;▶</strong></a>
</p>
<a name="🚀-installation"></a>
## 🚀 Installation
### Pré-requis
- Une police [Nerd Font](https://www.nerdfonts.com/) installée et activée dans votre terminal (Par exemple, essayez [Fira Code](https://www.nerdfonts.com/font-downloads)).
2019-12-14 18:46:45 -05:00
### Démarrage rapide
2021-04-22 17:12:09 -04:00
**Remarque**: en raison de la prolifération des plates-formes, seul un sous ensemble des plates-formes prises en charge sont montrées ci-dessous. Vous ne trouvez pas la vôtre? Jetez un œil aux [instructions pour les autres plates-formes](https://starship.rs/installing/).
2021-01-07 18:08:18 -05:00
2020-10-13 15:09:01 -04:00
1. Installer l'exécutable **starship** :
2019-12-14 18:46:45 -05:00
#### Installer la dernière version
2020-09-30 16:26:13 -04:00
##### Depuis une version pré-compilée, depuis le shell:
```sh
2021-04-22 17:12:09 -04:00
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
```
2021-04-22 17:12:09 -04:00
Pour mettre à jour Starship, relancez le script ci-dessus. Cela remplacera la version actuelle sans toucher à la configuration de Starship.
2021-06-20 14:10:36 -04:00
**Note** - Les valeurs par défaut du script d'installation peuvent être remplacées, voir l'aide intégrée.
```sh
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --help
```
2019-12-14 18:46:45 -05:00
#### Installer via le gestionnaire de paquets
2021-04-22 17:12:09 -04:00
##### Exemple: [Homebrew](https://brew.sh/):
```sh
2019-12-06 17:07:57 -05:00
brew install starship
```
2019-12-14 18:46:45 -05:00
##### Avec [Scoop](https://scoop.sh):
2019-12-06 17:07:57 -05:00
```powershell
scoop install starship
```
2021-04-22 17:12:09 -04:00
2. Ajoutez le script dinitialisation au fichier de configuration de votre shell:
#### Bash
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de `~/.bashrc`:
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de `~/.config/fish/config.fish`:
```sh
# ~/.config/fish/config.fish
starship init fish | source
```
#### Zsh
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de `~/.zshrc`:
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
2019-12-24 16:54:29 -05:00
#### PowerShell
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de `Microsoft.PowerShell_profile.ps1`. Vous pouvez vérifier l'emplacement de ce fichier en regardant la variable `$PROFILE` dans PowerShell. Habituellement, son chemin est `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` ou `~/.config/powershell/Microsoft.PowerShell_profile.ps1` sur -Nix.
2021-01-26 17:07:13 -05:00
```powershell
Invoke-Expression (&starship init powershell)
```
2019-12-14 18:46:45 -05:00
#### Ion
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de `~/.config/ion/initrc`:
2019-12-14 18:46:45 -05:00
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```
2021-02-06 12:46:15 -05:00
#### Elvish
2021-04-22 17:12:09 -04:00
**Avertissement** Seul elvish v0.15 ou supérieur est pris en charge. Ajoutez ce qui suit à la fin de `~/.elvish/rc.elv`:
2021-02-06 12:46:15 -05:00
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
2021-03-15 13:18:42 -04:00
#### Tcsh
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de `~/.tcshrc`:
2021-03-15 13:18:42 -04:00
```sh
# ~/.tcshrc
eval `starship init tcsh`
```
2021-04-22 17:12:09 -04:00
## 🤝 Contribuer
2020-09-30 16:26:13 -04:00
Nous sommes toujours à la recherche de contributeurs de **tous niveaux de compétence**! Si vous cherchez à faciliter votre entrée dans le projet, essayez un [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
2021-04-22 17:12:09 -04:00
Si vous parlez couramment une langue autre que l'anglais, nous apprécions grandement toute aide pour que nos documents soient traduits et mis à jour dans d'autres langues. Si vous souhaitez nous aider, les traductions peuvent êtres suggérées sur le [Crowdin de Starship](https://translate.starship.rs/).
2021-01-03 03:56:07 -05:00
2020-09-30 16:26:13 -04:00
Si vous êtes intéressé pour aider et contribuer à Starship, veuillez jeter un coup d'œil à notre [Guide de contribution](https://github.com/starship/starship/blob/master/CONTRIBUTING.md). Aussi, n'hésitez pas à vous rendre sur notre [serveur Discord](https://discord.gg/8Jzqu3T) pour dire bonjour. 👋
2020-09-30 16:26:13 -04:00
### Contributeurs
Ce projet existe grâce à toutes les personnes qui y contribuent. [[Contribuer](https://github.com/starship/starship/blob/master/CONTRIBUTING.md)].
<a href="https://github.com/starship/starship/graphs/contributors"><img src="https://opencollective.com/starship/contributors.svg?width=890&button=false" /></a>
### Contributeurs financiers
Devenez un contributeur financier et aidez-nous à soutenir notre communauté. [[Contribuer](https://opencollective.com/starship/contribute)]
#### Particuliers
<a href="https://opencollective.com/starship"><img src="https://opencollective.com/starship/individuals.svg?width=890"></a>
#### Organisations
Soutenez ce projet avec votre organisation. Votre logo apparaîtra ici avec un lien vers votre site Web. [[Contribuer](https://opencollective.com/starship/contribute)]
<a href="https://opencollective.com/starship/organization/0/website"><img src="https://opencollective.com/starship/organization/0/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/1/website"><img src="https://opencollective.com/starship/organization/1/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/2/website"><img src="https://opencollective.com/starship/organization/2/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/3/website"><img src="https://opencollective.com/starship/organization/3/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/4/website"><img src="https://opencollective.com/starship/organization/4/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/5/website"><img src="https://opencollective.com/starship/organization/5/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/6/website"><img src="https://opencollective.com/starship/organization/6/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/7/website"><img src="https://opencollective.com/starship/organization/7/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/8/website"><img src="https://opencollective.com/starship/organization/8/avatar.svg"></a>
<a href="https://opencollective.com/starship/organization/9/website"><img src="https://opencollective.com/starship/organization/9/avatar.svg"></a>
2019-12-14 18:46:45 -05:00
## 💭Inspiré par
2021-04-22 17:12:09 -04:00
Voyez ces travaux précédents qui ont contribué à inspirer la création de Starship. 🙏
2021-04-22 17:12:09 -04:00
- **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** - Une invite de commande ZSH pour les astronautes.
2020-09-30 16:26:13 -04:00
- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** - Thème multi-shell robbyrussell écrit en JavaScript.
2021-04-22 17:12:09 -04:00
- **[reujab/silver](https://github.com/reujab/silver)** - Un shell multi-plateformes de type powerline personnalisable avec des icônes.
<p align="center">
<br>
<img width="100" src="https://raw.githubusercontent.com/starship/starship/master/media/icon.png" alt="Icône de fusée de Starship">
</p>
## 📝 License
Copyright © 2019-présent, [Contributeurs Starship](https://github.com/starship/starship/graphs/contributors).<br /> Ce projet est sous licence[ISC](https://github.com/starship/starship/blob/master/LICENSE).