Actualiser README.md

This commit is contained in:
TonyLight 2025-08-28 23:23:33 +00:00
parent 51cac587e2
commit b5d31b3764

View File

@ -111,14 +111,15 @@ Ce dépôt contient un fichier `starship.toml` prêt à lemploi pour personna
- **Bash** (`~/.bashrc`) : - **Bash** (`~/.bashrc`) :
```bash ```bash
eval "$(starship init bash)" eval "$(starship init bash)"
``` # sauvegarde prudente
- **Zsh** (`~/.zshrc`) : cp -a /root/.bashrc /root/.bashrc.bak-$(date +%F-%H%M)
```bash
eval "$(starship init zsh)" # activer starship dans bash
``` grep -q 'starship init bash' /root/.bashrc || \
- **Fish** (`~/.config/fish/config.fish`) : printf '\n%s\n' 'eval "$(starship init bash)"' >> /root/.bashrc
```fish
starship init fish | source # recharger la config
. /root/.bashrc
``` ```
3. **Relancer** le shell. 3. **Relancer** le shell.
@ -135,12 +136,6 @@ Au lieu de copier manuellement, vous pouvez directement récupérer le fichier a
curl -fsSL https://git.eldunar.fr/TonyLight/Starship.git/raw/branch/main/starship.toml -o ~/.config/starship.toml curl -fsSL https://git.eldunar.fr/TonyLight/Starship.git/raw/branch/main/starship.toml -o ~/.config/starship.toml
``` ```
ou
```bash
wget -O ~/.config/starship.toml https://git.eldunar.fr/TonyLight/Starship.git/raw/branch/main/starship.toml
```
### Windows PowerShell ### Windows PowerShell
```powershell ```powershell