rewritten home/dev/zsh.nix

This commit is contained in:
2026-03-02 18:37:17 +01:00
parent 3d8ba56729
commit 00ec53a3a9
+22 -21
View File
@@ -2197,29 +2197,30 @@ Zsh gets installed and configured
{ config, pkgs, lib, flakeRoot, ... }: { config, pkgs, lib, flakeRoot, ... }:
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
autocd = true; autocd = true;
# Optional but recommended: keep zsh config in one dir (relative to $HOME) # Recommended: keep zsh config in one dir (relative to $HOME)
dotDir = ".config/zsh"; dotDir = ".config/zsh";
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
theme = ""; theme = "";
plugins = [ plugins = [
"git" "git"
"sudo" "sudo"
"extract" "extract"
"colored-man-pages" "colored-man-pages"
"command-not-found" "command-not-found"
"history" "history"
"docker" "docker"
"kubectl" "kubectl"
]; ];
}; };
autosuggestion.enable = true; autosuggestions.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
}; };
} }
#+end_src #+end_src
** Starship ** Starship