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