Files
nix/users/common/configs/zsh.nix

19 lines
463 B
Nix

{
programs.zsh = {
enable = true;
autocd = true;
history = {
path = "$HOME/.local/share/zsh/history";
expireDuplicatesFirst = true;
};
historySubstringSearch.enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
loginExtra = ''
if [ -z "''${WAYLAND_DISPLAY}" ] && [ ! -z "''${XDG_VTNR}" ] && [ "''${XDG_VTNR}" -eq 1 ]; then
hyprland &> /tmp/hyprland.log
fi
'';
};
}