39 lines
709 B
Nix
39 lines
709 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
flakeRoot,
|
|
...
|
|
}:
|
|
let
|
|
repoZshConf = flakeRoot + "/assets/conf/dev/terminal/zsh.conf";
|
|
in
|
|
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
autosuggestions.enable = true;
|
|
enableCompletion = true;
|
|
autocd = true;
|
|
dotDir = config.home.homeDirectory;
|
|
# ---- Oh My Zsh ----
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "";
|
|
plugins = [
|
|
"git"
|
|
"sudo"
|
|
"extract"
|
|
"colored-man-pages"
|
|
"command-not-found"
|
|
"history"
|
|
"docker"
|
|
"kubectl"
|
|
# IMPORTANT: these should be last
|
|
"zsh-autosuggestions"
|
|
"zsh-syntax-highlighting"
|
|
];
|
|
};
|
|
};
|
|
}
|