1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 19:29:47 +01:00

starship: use use instead of source for nushell

For starship v1.16 onwards this is the upstream-recommended method.
This commit is contained in:
David Knaack 2023-09-19 23:14:29 +02:00 committed by Mikilio
parent 92d368d971
commit c20a5caba2
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

@ -137,7 +137,7 @@ in {
${starshipCmd} init nu | save --force ${config.xdg.cacheHome}/starship/init.nu
'';
extraConfig = ''
source ${config.xdg.cacheHome}/starship/init.nu
use ${config.xdg.cacheHome}/starship/init.nu
'';
};
};