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

@@ -2,8 +2,7 @@
pkgs.writeShellApplication {
name = "nsp";
text = ''
#!/run/current-system/sw/bin/bash
nix-shell -p "$@" --run zsh
trap 'NIX_SHELL=false kitty_theme' exit
NIX_SHELL=true command nix-shell -p "$@" --run zsh
'';
}