Files
dotfiles/home/modules/zsh.nix
T

34 lines
560 B
Nix

{ config, pkgs, ... }:
let
c = config.theme.colors;
in
{
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
history = {
size = 50000;
save = 50000;
ignoreDups = true;
share = true;
};
# new
initContent = ''
PROMPT="%F{${c.green_b}}%n@%m%f %F{${c.yellow_b}}%~%f %F{${c.fg4}}»%f "
'';
shellAliases = {
ls = "eza --icons";
ll = "eza -la --icons";
cat = "bat";
grep = "rg";
};
};
}