Improving shell
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user