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:
parent
c55fa26ce0
commit
646ac0ad17
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ in {
|
||||||
if not ($starship_cache | path exists) {
|
if not ($starship_cache | path exists) {
|
||||||
mkdir $starship_cache
|
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 = ''
|
extraConfig = ''
|
||||||
source ${config.xdg.cacheHome}/starship/init.nu
|
source ${config.xdg.cacheHome}/starship/init.nu
|
||||||
|
|
Loading…
Reference in a new issue