kitty now changes color scheme inside of nix-shell

This commit is contained in:
2024-11-24 14:25:17 -05:00
parent 836f24d416
commit ebe5b4d8df
9 changed files with 103 additions and 40 deletions

View File

@@ -12,7 +12,7 @@
right_format = "($custom)";
format = lib.concatStrings [
"($ssh_symbol)($username)($hostname)(bold white)($cmd_duration)($character)"
"($ssh_symbol)($username)($hostname)($nix_shell)(bold white)($cmd_duration)($character)"
"($git_branch)($git_status)($rust)($nix-shell)"
"($directory)"
"$line_break[ > ](bold #89b4fa)"
@@ -59,6 +59,11 @@
format = "[@](bold blue)[$hostname](bold red)";
};
nix_shell = {
format = " via [$symbol]($style)";
symbol = " ";
};
custom.shellver = {
command = "zsh --version";
when = ''test $SHELL = "/run/current-system/sw/bin/zsh"'';