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
Zsh gets installed and configured Zsh gets installed and configured
#+begin_src nix :tangle home/dev/zsh.nix :noweb tangle :mkdirp yes. #+begin_src nix :tangle home/dev/zsh.nix :noweb tangle :mkdirp yes.
{ config, pkgs, lib, flakeRoot, ... }: { config, pkgs, lib, flakeRoot, ... }:
let
repoZshConf = flakeRoot + "/assets/conf/dev/terminal/zsh.conf";
in
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
syntaxHighlighting.enable = true;
autosuggestions.enable = true;
enableCompletion = true; enableCompletion = true;
autocd = true; autocd = true;
dotDir = config.home.homeDirectory; # Optional but recommended: keep zsh config in one dir (relative to $HOME)
# ---- Oh My Zsh ---- dotDir = ".config/zsh";
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
theme = ""; theme = "";
@@ -2438,12 +2433,10 @@ in
"history" "history"
"docker" "docker"
"kubectl" "kubectl"
# IMPORTANT: these should be last
# "zsh-autosuggestions"
# "zsh-syntax-highlighting"
]; ];
}; };
''; autosuggestion.enable = true;
syntaxHighlighting.enable = true;
}; };
} }
#+end_src #+end_src