nixos/home/shell/zsh.nix

41 lines
1,010 B
Nix
Raw Normal View History

{ config, catppuccin-themes, ... }: {
2023-08-07 11:53:32 +01:00
imports = [ ./default.nix ];
2023-07-05 11:08:23 +01:00
programs = {
zsh = {
enable = true;
enableAutosuggestions = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
enableVteIntegration = true;
autocd = true;
dotDir = ".config/zsh";
historySubstringSearch.enable = true;
history.path = "${config.xdg.dataHome}/zsh/history";
initExtraFirst = ''
source ${catppuccin-themes.zsh}
'';
oh-my-zsh = {
enable = true;
plugins = [
# Productivity
"aliases"
"colored-man-pages"
"command-not-found"
"extract"
# Build tools
"git"
"gitignore"
# Misc
"lol"
"rand-quote"
];
theme = "";
};
2023-07-05 11:08:23 +01:00
};
direnv.enableZshIntegration = true;
2023-07-10 20:58:41 +01:00
fzf.enableZshIntegration = true;
keychain.enableZshIntegration = true;
starship.enableZshIntegration = true;
};
}