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:
parent
c55fa26ce0
commit
646ac0ad17
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue