2019-09-19 00:43:59 +09:00
<p align="center">
2020-04-03 12:35:39 -04:00
<img
2019-09-19 00:43:59 +09:00
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"
/>
2019-09-19 00:43:59 +09:00
</p>
2020-04-03 12:35:39 -04:00
2019-09-19 00:43:59 +09: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"
2020-07-23 17:07:10 -04:00
alt="Statut du package" /></a
2019-10-21 23:42:08 +09:00
><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>
2019-09-19 00:43:59 +09:00
</p>
2019-10-11 17:31:19 +09:00
2020-04-03 12:35:39 -04:00
<p align="center">
2019-10-21 23:42:08 +09:00
<a href="https://starship.rs">Site web</a>
2019-09-19 00:43:59 +09:00
·
2020-05-05 13:07:34 -04:00
<a href="#🚀-installation">Installation</a>
2019-09-19 00:43:59 +09:00
·
2019-10-04 17:57:43 +09:00
<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
2020-04-03 12:35:39 -04:00
<a
2021-09-21 09:36:29 -04:00
href="https://github.com/starship/starship/blob/master/docs/de-DE/guide/README.md"
2020-04-03 12:35:39 -04:00
><img
height="20"
2021-09-21 09:36:29 -04:00
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-de.png"
alt="Deutsch"
2021-03-15 13:18:42 -04:00
/></a>
2019-12-06 17:07:57 -05:00
2020-04-03 12:35:39 -04:00
<a
2021-09-21 09:36:29 -04: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"
2021-09-21 09:36:29 -04:00
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-es.png"
2021-11-07 18:07:39 +00:00
alt="Espagnol"
2021-03-15 13:18:42 -04:00
/></a>
2019-12-06 17:07:57 -05:00
2020-04-03 12:35:39 -04:00
<a
2021-09-21 09:36:29 -04: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"
2021-09-21 09:36:29 -04:00
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png"
alt="Français"
2021-03-15 13:18:42 -04:00
/></a>
2020-01-21 11:15:25 -05:00
2020-04-03 12:35:39 -04:00
<a
2021-09-21 09:36:29 -04:00
href="https://github.com/starship/starship/blob/master/docs/ja-JP/guide/README.md"
2020-04-03 12:35:39 -04:00
><img
height="20"
2021-09-21 09:36:29 -04:00
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-jp.png"
alt="日本語"
2021-03-15 13:18:42 -04:00
/></a>
2020-01-23 11:27:26 -05:00
2020-04-03 12:35:39 -04:00
<a
2021-09-21 09:36:29 -04:00
href="https://github.com/starship/starship/blob/master/docs/pt-BR/guide/README.md"
2020-04-03 12:35:39 -04:00
><img
height="20"
2021-09-21 09:36:29 -04:00
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-br.png"
alt="Português do Brasil"
2021-03-15 13:18:42 -04:00
/></a>
2019-12-06 17:07:57 -05:00
2021-04-05 10:55:57 -04:00
<a
2021-09-21 09:36:29 -04:00
href="https://github.com/starship/starship/blob/master/docs/ru-RU/guide/README.md"
2020-04-03 12:35:39 -04:00
><img
height="20"
2021-09-21 09:36:29 -04:00
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-ru.png"
alt="Русский"
2021-03-15 13:18:42 -04:00
/></a>
2020-01-15 12:23:25 -05:00
2021-04-05 10:55:57 -04:00
<a
2021-09-21 09:36:29 -04:00
href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md"
2020-04-03 12:35:39 -04:00
><img
height="20"
2021-09-21 09:36:29 -04:00
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-vn.png"
alt="Tiếng Việt"
2021-03-15 13:18:42 -04:00
/></a>
2021-02-06 12:46:15 -05:00
2021-04-05 10:55:57 -04:00
<a
2021-09-21 09:36:29 -04:00
href="https://github.com/starship/starship/blob/master/docs/zh-CN/guide/README.md"
2021-02-06 12:46:15 -05:00
><img
height="20"
2021-09-21 09:36:29 -04:00
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png"
alt="简体中文"
/></a>
<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"
alt="繁體中文"
2021-03-15 13:18:42 -04:00
/></a>
2019-10-11 17:31:19 +09:00
</p>
2019-09-19 00:43:59 +09:00
<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.
2019-09-19 00:43:59 +09:00
<p align="center">
2021-04-22 17:12:09 -04:00
<a href="https://starship.rs/config/"><strong>Consultez la documentation de Starship ▶</strong></a>
2019-09-19 00:43:59 +09:00
</p>
2020-05-05 13:07:34 -04:00
<a name="🚀-installation"></a>
2019-10-04 17:57:43 +09:00
## 🚀 Installation
2019-09-19 00:43:59 +09:00
2019-10-21 23:42:08 +09:00
### Pré-requis
2019-09-19 00:43:59 +09:00
2020-07-23 17:07:10 -04:00
- 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-09-19 00:43:59 +09:00
2019-12-14 18:46:45 -05:00
### Démarrage rapide
2019-09-19 00:43:59 +09:00
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-09-19 00:43:59 +09:00
2019-12-14 18:46:45 -05:00
#### Installer la dernière version
2019-09-19 00:43:59 +09:00
2020-09-30 16:26:13 -04:00
##### Depuis une version pré-compilée, depuis le shell:
2019-09-19 00:43:59 +09:00
```sh
2021-04-22 17:12:09 -04:00
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
2019-09-19 00:43:59 +09:00
` ``
2021-09-21 09:36:29 -04:00
Pour mettre à jour Starship, relancez le script ci-dessus. Cela remplacera la version actuelle sans toucher à la configuration de Starship.
2019-09-28 20:31:56 +09:00
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
2019-09-19 00:43:59 +09:00
2021-11-07 18:07:39 +00:00
##### Avec [Homebrew](https://brew.sh/):
2019-09-19 00:43:59 +09:00
` ``sh
2019-12-06 17:07:57 -05:00
brew install starship
2019-09-19 00:43:59 +09:00
` ``
2019-09-28 20:31:56 +09:00
2019-12-14 18:46:45 -05:00
##### Avec [Scoop](https://scoop.sh):
2019-09-19 00:43:59 +09:00
2019-12-06 17:07:57 -05:00
` ``powershell
scoop install starship
2019-10-21 23:42:08 +09:00
` ``
2021-04-22 17:12:09 -04:00
2. Ajoutez le script d’ initialisation au fichier de configuration de votre shell:
2019-09-28 20:31:56 +09:00
2019-09-19 00:43:59 +09:00
#### Bash
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de ` ~/.bashrc`:
2019-09-19 00:43:59 +09:00
` ``sh
# ~/.bashrc
eval "$(starship init bash)"
` ``
2019-09-28 20:31:56 +09:00
2019-09-19 00:43:59 +09:00
#### Fish
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de ` ~/.config/fish/config.fish`:
2019-09-19 00:43:59 +09:00
` ``sh
# ~/.config/fish/config.fish
2019-10-29 12:48:45 +09:00
starship init fish | source
2019-09-19 00:43:59 +09:00
` ``
2019-09-28 20:31:56 +09:00
2019-09-19 00:43:59 +09:00
#### Zsh
2021-04-22 17:12:09 -04:00
Ajoutez ce qui suit à la fin de ` ~/.zshrc`:
2019-09-19 00:43:59 +09:00
` ``sh
# ~/.zshrc
eval "$(starship init zsh)"
` ``
2019-10-21 23:42:08 +09:00
2019-12-24 16:54:29 -05:00
#### PowerShell
2019-10-21 23:42:08 +09:00
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.
2019-10-21 23:42:08 +09:00
2021-01-26 17:07:13 -05:00
` ``powershell
2019-10-21 23:42:08 +09:00
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-07-10 17:15:23 -04:00
2021-08-14 09:24:51 -04:00
#### Xonsh
Ajouter ce qui suit à la fin de ` ~/.xonshrc`:
` ``sh
# ~/.xonshrc
execx($(starship init xonsh))
` ``
2021-07-10 17:15:23 -04:00
#### Nushell
2021-08-14 09:24:51 -04:00
**Avertissement** Cela changera dans le futur. Seule la version nu v0.33 ou supérieure est prise en charge. Ajoutez ce qui suit à votre fichier de configuration 'nu'. Vous pouvez vérifier l'emplacement de ce fichier en exécutant ` config path` dans 'nu'.
2021-07-10 17:15:23 -04:00
` ``toml
startup = [
"mkdir ~/.cache/starship",
"starship init nu | save ~/.cache/starship/init.nu",
"source ~/.cache/starship/init.nu"
]
prompt = "starship_prompt"
` ``
2021-04-22 17:12:09 -04:00
## 🤝 Contribuer
2019-09-19 00:43:59 +09:00
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 ).
2019-09-19 00:43:59 +09:00
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. 👋
2019-09-19 00:43:59 +09:00
2019-12-14 18:46:45 -05:00
## 💭Inspiré par
2019-09-19 00:43:59 +09:00
2021-12-21 00:05:59 +03:00
Jetez un œil aux précédents projets qui ont inspiré la création de starship. 🙏
2019-09-19 00:43:59 +09:00
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.
2019-09-19 00:43:59 +09:00
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.
2019-09-19 00:43:59 +09:00
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.
2019-09-19 00:43:59 +09:00
<p align="center">
<br>
2021-12-21 00:05:59 +03:00
<img width="100" src="https://raw.githubusercontent.com/starship/starship/master/media/icon.png" alt="Icône de fusée de Starship">
2019-09-19 00:43:59 +09:00
</p>
2019-10-04 17:57:43 +09:00
## 📝 License
2019-09-19 00:43:59 +09:00
2021-12-21 00:05:59 +03:00
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 ).