starship: use use
instead of source
for nushell
For starship v1.16 onwards this is the upstream-recommended method.
This commit is contained in:
parent
7ee73f5363
commit
6f88243322
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue