Working on termonal stuff

This commit is contained in:
2026-03-07 23:24:44 +01:00
parent 1de7d93147
commit 06c226f7cd
@@ -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)\""
];
};
}