From 5391a3e01d932f0aa77f24c0c5ddf7f0fd91e1d5 Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Sun, 18 May 2025 16:53:04 -0400 Subject: [PATCH] yazi and starship --- modules/home/shell-conf/starship/starship.toml | 2 +- modules/home/yazi.nix | 2 +- modules/home/yazi/init.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home/shell-conf/starship/starship.toml b/modules/home/shell-conf/starship/starship.toml index 6664cce..7370990 100644 --- a/modules/home/shell-conf/starship/starship.toml +++ b/modules/home/shell-conf/starship/starship.toml @@ -1,6 +1,6 @@ "$schema" = 'https://starship.rs/config-schema.json' -format = "$all$line_break$character" +format = "$env_var$all$line_break$character" [env_var.yazi_level] description = "Indicate the shell was launched by `yazi`" diff --git a/modules/home/yazi.nix b/modules/home/yazi.nix index 3fee1d9..a4c9fbe 100644 --- a/modules/home/yazi.nix +++ b/modules/home/yazi.nix @@ -68,7 +68,7 @@ owner = "Rolv-Apneseth"; repo = "starship.yazi"; rev = "HEAD"; - sha256 = "sha256-ORcexu1f7hb7G4IyzQIfGlCkH3OWlk4w5FtZrbXkR40="; + sha256 = "sha256-+CSdghcIl50z0MXmFwbJ0koIkWIksm3XxYvTAwoRlDY="; }; office = pkgs.fetchFromGitHub { owner = "macydnah"; diff --git a/modules/home/yazi/init.lua b/modules/home/yazi/init.lua index 89532ae..c8165cd 100644 --- a/modules/home/yazi/init.lua +++ b/modules/home/yazi/init.lua @@ -1,4 +1,4 @@ --- require("starship"):setup() +require("starship"):setup() require("git"):setup() th.git = th.git or {}