kitty now changes color scheme inside of nix-shell
This commit is contained in:
@@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user