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

starship: expose presets in share/starship/presets
This commit is contained in:
Mario Rodas 2023-09-22 19:53:39 -05:00 committed by GitHub
commit a32515f232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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=";