Improving shell

This commit is contained in:
2025-10-13 18:29:23 +02:00
parent 3df4363583
commit e1d128f28a
11 changed files with 181 additions and 89 deletions

View File

@@ -18,17 +18,15 @@
};
};
programs = {
starship.enable = true;
bash = {
zsh = {
promptInit = ''
[[ "$TERM" == "xterm-kitty" ]] && export TERM="xterm-256color"
[[ -f ${pkgs.nitch}/bin/nitch ]] && nitch
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
hyprland --config /etc/xdg/hypr/hyprland.conf
fi
'';
};
starship.enable = true;
};
}