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 GitHub
parent 7ee73f5363
commit 6f88243322
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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