chore: move zsh under shells

This commit is contained in:
Infinidoge 2021-09-14 13:33:53 -04:00
parent f9ccfb738c
commit 1efae8ed1b
3 changed files with 51 additions and 48 deletions

View file

@ -0,0 +1,51 @@
{ config, lib, ... }: {
programs = {
zsh = {
enable = true;
enableCompletion = true;
# enableSyntaxHighlighting = true;
enableVteIntegration = true;
dotDir = ".config/zsh";
history.path = "$ZDOTDIR/.zsh_history";
oh-my-zsh = {
enable = true;
plugins = [
# Display
"colorize"
"colored-man-pages"
# zsh modifications
"zsh-interactive-cd"
"zsh_reload"
"command-not-found"
# Aliases
"alias-finder"
# Applications
## Docker
"docker"
## Python
"pip"
"python"
## Systemd
"systemd"
## Git
"git"
"github"
"gitignore"
## Emacs
"emacs"
## Vim
"fancy-ctrl-z"
];
};
};
starship.enableZshIntegration = lib.mkIf config.programs.starship.enable true;
};
}