Added new zsh.nix that will provide fancy colors

This commit is contained in:
2026-02-25 21:21:23 +01:00
parent 0c2e0ef2ec
commit 1732f519a8
+5 -12
View File
@@ -2413,19 +2413,14 @@ EOF
** Zsh
Zsh gets installed and configured
#+begin_src nix :tangle home/dev/zsh.nix :noweb tangle :mkdirp yes.
{ config, pkgs, lib, flakeRoot, ... }:
let
repoZshConf = flakeRoot + "/assets/conf/dev/terminal/zsh.conf";
in
{ config, pkgs, lib, flakeRoot, ... }:
{
programs.zsh = {
enable = true;
syntaxHighlighting.enable = true;
autosuggestions.enable = true;
enableCompletion = true;
autocd = true;
dotDir = config.home.homeDirectory;
# ---- Oh My Zsh ----
# Optional but recommended: keep zsh config in one dir (relative to $HOME)
dotDir = ".config/zsh";
oh-my-zsh = {
enable = true;
theme = "";
@@ -2438,12 +2433,10 @@ in
"history"
"docker"
"kubectl"
# IMPORTANT: these should be last
# "zsh-autosuggestions"
# "zsh-syntax-highlighting"
];
};
'';
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
};
}
#+end_src