diff --git a/henrovnix_ok/README.org b/henrovnix_ok/README.org index 95d5aa016..2b949d31a 100755 --- a/henrovnix_ok/README.org +++ b/henrovnix_ok/README.org @@ -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