Unverified Commit a32515f2 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #253105 from jacekszymanski/starship-expose-presets

starship: expose presets in share/starship/presets
parents 1f61bb87 fac229cd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -33,6 +33,10 @@ rustPlatform.buildRustPackage rec {
      --bash <($out/bin/starship completions bash) \
      --fish <($out/bin/starship completions fish) \
      --zsh <($out/bin/starship completions zsh)

    presetdir=$out/share/starship/presets/
    mkdir -p $presetdir
    cp docs/.vuepress/public/presets/toml/*.toml $presetdir
  '';

  cargoHash = "sha256-ZHHrpepKZnSGufyEAjNDozaIKAt2GFRt+hU2ej7LceA=";