Actualiser README.md
This commit is contained in:
parent
51cac587e2
commit
b5d31b3764
23
README.md
23
README.md
@ -111,14 +111,15 @@ Ce dépôt contient un fichier `starship.toml` prêt à l’emploi 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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user