From c20a5caba2fbd334931491aa8cd0b16036a5e43a Mon Sep 17 00:00:00 2001 From: David Knaack Date: Tue, 19 Sep 2023 23:14:29 +0200 Subject: [PATCH] starship: use `use` instead of `source` for nushell For starship v1.16 onwards this is the upstream-recommended method. --- modules/programs/starship.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index 8a97b53a2..f253fa7f0 100644 --- a/modules/programs/starship.nix +++ b/modules/programs/starship.nix @@ -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 ''; }; };