From 06c226f7cd15f074763d9fd5f1713d954d55d3cd Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sat, 7 Mar 2026 23:24:44 +0100 Subject: [PATCH] Working on termonal stuff --- .../system/applications/terminal_shell/zsh.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Droidnix/generated/system/applications/terminal_shell/zsh.nix b/Droidnix/generated/system/applications/terminal_shell/zsh.nix index f2c76dcd7..8ad1db625 100644 --- a/Droidnix/generated/system/applications/terminal_shell/zsh.nix +++ b/Droidnix/generated/system/applications/terminal_shell/zsh.nix @@ -32,11 +32,20 @@ in }; }; - # Set Zsh options (e.g., AUTO_CD) in .zshrc + # Single, consolidated .zshrc xdg.configFile."zsh/.zshrc".text = lib.concatStringsSep "\n" [ + "# Zsh options" "setopt AUTO_CD" "setopt CORRECT" "setopt INTERACTIVE_COMMENTS" + "" + "# Oh-My-Zsh" + "export ZSH=\"${zshConfigDir}\"" + "source \"${pkgs.zsh}/share/zsh/functions/Newuser/zsh-newuser-install\"" + "source \"${zshConfigDir}/oh-my-zsh.sh\"" + "" + "# Starship (if used)" + "eval \"$(starship init zsh)\"" ]; }; }