diff --git a/demo/03-starship/demo.sh b/demo/03-starship/demo.sh new file mode 100755 index 0000000..1b92648 --- /dev/null +++ b/demo/03-starship/demo.sh @@ -0,0 +1,21 @@ +#!/bin/bash +gum style --border double --padding "1 2" --margin "1" "Starship — Le prompt cross-shell" + +gum style --foreground 212 "# starship explain — décortique le prompt" +starship explain + +echo +gum style "Navigue dans les sous-répertoires pour voir le prompt changer :" +echo +gum table --print -s "," --columns "Répertoire,Détails" --widths 32,52 --border rounded </dev/null -```bash +exec_replace -cargo run -q --manifest-path big-text/Cargo.toml -- -q "Starship" 2>/dev/null -``` +![image:width:75%](starship.png) + +# Le prompt qui envoie du lourd + +* Prompt **cross-shell** : compatible bash, zsh, fish… +* Infos de contexte : versions (java, node…), kubecontext, workspace TF, ... +* Configuration simple en TOML — thèmes, modules, personnalisation libre -![image:width:50%](starship.png)