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
eval "$(starship init bash)"
```
- **Zsh** (`~/.zshrc`) :
```bash
eval "$(starship init zsh)"
```
- **Fish** (`~/.config/fish/config.fish`) :
```fish
starship init fish | source
# sauvegarde prudente
cp -a /root/.bashrc /root/.bashrc.bak-$(date +%F-%H%M)
# activer starship dans bash
grep -q 'starship init bash' /root/.bashrc || \
printf '\n%s\n' 'eval "$(starship init bash)"' >> /root/.bashrc
# recharger la config
. /root/.bashrc
```
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
```
ou
```bash
wget -O ~/.config/starship.toml https://git.eldunar.fr/TonyLight/Starship.git/raw/branch/main/starship.toml
```
### Windows PowerShell
```powershell