Working on shell stuff
This commit is contained in:
@@ -7,32 +7,17 @@
|
||||
}:
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.zsh = {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "";
|
||||
plugins = [
|
||||
"git"
|
||||
"sudo"
|
||||
"extract"
|
||||
"colored-man-pages"
|
||||
"command-not-found"
|
||||
"history"
|
||||
"docker"
|
||||
"kubectl"
|
||||
];
|
||||
# Starship settings (e.g., theme, modules)
|
||||
settings = {
|
||||
addNewline = false;
|
||||
# Other settings...
|
||||
};
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
# Enable Starship for specific shells
|
||||
bash.enable = true;
|
||||
zsh.enable = true;
|
||||
fish.enable = true;
|
||||
};
|
||||
|
||||
# Set Zsh options (e.g., AUTO_CD) in .zshrc
|
||||
xdg.configFile."zsh/.zshrc".text = lib.concatStringsSep "\n" [
|
||||
"setopt AUTO_CD"
|
||||
"setopt CORRECT"
|
||||
"setopt INTERACTIVE_COMMENTS"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user