nixos/home/shell/zsh.nix
Evie Litherland-Smith f58fe209d8 Swap tokyonight theme for catppuccin
Move bat expression to separate file to be imported by git (for delta
syntax highlighting)
Move gitui from tui/default.nix to git/default.nix
2023-09-07 08:48:42 +01:00

41 lines
1,010 B
Nix

{ config, catppuccin-themes, ... }: {
imports = [ ./default.nix ];
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 = "";
};
};
direnv.enableZshIntegration = true;
fzf.enableZshIntegration = true;
keychain.enableZshIntegration = true;
starship.enableZshIntegration = true;
};
}