nix/programm_configs/zsh.nix
2025-09-24 00:05:48 +02:00

20 lines
439 B
Nix

{ pkgs, ... }:
{
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
# To make alacritty in ssh work
shellAliases = {
ssh = "TERM=xterm-256color $(which -p ssh)";
};
initContent = "eval \"$(direnv hook zsh)\"";
oh-my-zsh = {
enable = true;
plugins = [ "git" "battery" "docker" "docker-compose" "virtualenv" ];
theme = "agnoster";
};
};
}