userdir, zsh fixes

This commit is contained in:
quitte 2023-09-20 14:07:50 +02:00
parent 7043532749
commit e739a60e66
2 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ lib, pkgs, ... }:
{
programs.command-not-found.enable = false;
programs.nix-index-database.comma.enable = true;
@ -12,19 +12,14 @@
};
programs.zsh = {
enable = true;
shellAliases = {
l = "ls -l";
ll = "ls -la";
la = "ls -a";
less = "bat";
};
histSize = 100000;
histFile = "~/.local/share/zsh/history";
autosuggestions = {
enable = true;
highlightStyle = "fg=#00bbbb,bold";
};
# don't override agdsn-zsh-config aliases
shellAliases = lib.mkForce {};
shellInit = ''
zsh-newuser-install () {}
'';