You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
750 B

{ config, pkgs, ... }:
{
programs.zsh = {
enable = true;
history= rec {
share = true;
extended = true;
save = 100000000; size = save;
};
shellAliases = {
"..." = "cd";
sl = "exa";
ls = "exa";
l = "exa -l";
la = "exa -la";
rs = "rsync -a --info=progress2 ";
};
#pathSetup = ''
# export PATH="${prefixEnvPath "PATH" [
# "$HOME/.nix-profile/bin"
# "/nix/var/nix/profiles/default/bin"
# ]}";
# export MANPATH="$HOME/.nix-profile/share/man:$(manpath 2>/dev/null)";
# typeset -U PATH path
#'';
initExtra = ''
# Write out history line-by-line, rather than on shell session exit
setopt INC_APPEND_HISTORY
'';
};
}