Working on termonal stuff
This commit is contained in:
@@ -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" [
|
xdg.configFile."zsh/.zshrc".text = lib.concatStringsSep "\n" [
|
||||||
|
"# Zsh options"
|
||||||
"setopt AUTO_CD"
|
"setopt AUTO_CD"
|
||||||
"setopt CORRECT"
|
"setopt CORRECT"
|
||||||
"setopt INTERACTIVE_COMMENTS"
|
"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)\""
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user