zsh: add agdsn config and comma

This commit is contained in:
Rouven Seifert 2023-09-19 16:03:41 +02:00
parent da97f9e750
commit e4e1cfd3d6
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 40 additions and 14 deletions

View file

@ -1,5 +1,7 @@
{ pkgs, ... }:
{
programs.command-not-found.enable = false;
programs.nix-index-database.comma.enable = true;
environment.systemPackages = with pkgs; [
# fzf
bat
@ -7,7 +9,6 @@
];
users.defaultUserShell = pkgs.zsh;
programs.fzf = {
fuzzyCompletion = true;
keybindings = true;
};
programs.zsh = {
@ -25,12 +26,13 @@
highlightStyle = "fg=#00bbbb,bold";
};
shellInit =
''
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
zsh-newuser-install () {}
'';
shellInit = ''
zsh-newuser-install () {}
'';
interactiveShellInit = ''
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
source ${pkgs.agdsn-zsh-config}/etc/zsh/zshrc
'';
};
}