1
Fork 0
This commit is contained in:
caem 2025-01-24 02:57:35 +01:00
parent b06e536462
commit 3ab30c0ccc
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -1,6 +1,12 @@
{ pkgs, config, ... }:
{
home.packages = with pkgs; [
lsd
bat
autojump
];
home.file.".zshenv".enable = false;
programs.zsh = {
enable = true;
@ -15,6 +21,17 @@
/* Not persisted on purpose */
history.path = "${config.xdg.cacheHome}/zsh_history";
shellAliases = {
cat = "bat --paging=never";
ls = "lsd";
ll = "lsd -lah";
};
initExtra = ''
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
'';
plugins = [
{
name = "zsh-nix-shell";