1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-20 01:59:45 +01:00

starship: fix nushell integration

Overwrite starship/init.nu if already exists, since this is a cache
file for sourcing in `init.nu`.
This commit is contained in:
Aidan Gauland 2022-12-24 15:48:22 +13:00 committed by Robert Helgesson
parent c55fa26ce0
commit 646ac0ad17
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -134,7 +134,7 @@ in {
if not ($starship_cache | path exists) {
mkdir $starship_cache
}
${starshipCmd} init nu | save ${config.xdg.cacheHome}/starship/init.nu
${starshipCmd} init nu | save --force ${config.xdg.cacheHome}/starship/init.nu
'';
extraConfig = ''
source ${config.xdg.cacheHome}/starship/init.nu