Another rewrite
This commit is contained in:
@@ -5,18 +5,15 @@
|
|||||||
flakeRoot,
|
flakeRoot,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
repoZshConf = flakeRoot + "/assets/conf/dev/terminal/zsh.conf";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
autosuggestions.enable = true;
|
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
autocd = 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 = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "";
|
theme = "";
|
||||||
@@ -29,10 +26,10 @@ in
|
|||||||
"history"
|
"history"
|
||||||
"docker"
|
"docker"
|
||||||
"kubectl"
|
"kubectl"
|
||||||
# IMPORTANT: these should be last
|
|
||||||
"zsh-autosuggestions"
|
|
||||||
"zsh-syntax-highlighting"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
autosuggestion.enable = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user