rewritten home/dev/zsh.nix
This commit is contained in:
+22
-21
@@ -2197,29 +2197,30 @@ Zsh gets installed and configured
|
|||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
{
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
autocd = true;
|
autocd = true;
|
||||||
# Optional but recommended: keep zsh config in one dir (relative to $HOME)
|
# Recommended: keep zsh config in one dir (relative to $HOME)
|
||||||
dotDir = ".config/zsh";
|
dotDir = ".config/zsh";
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "";
|
theme = "";
|
||||||
plugins = [
|
plugins = [
|
||||||
"git"
|
"git"
|
||||||
"sudo"
|
"sudo"
|
||||||
"extract"
|
"extract"
|
||||||
"colored-man-pages"
|
"colored-man-pages"
|
||||||
"command-not-found"
|
"command-not-found"
|
||||||
"history"
|
"history"
|
||||||
"docker"
|
"docker"
|
||||||
"kubectl"
|
"kubectl"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
autosuggestion.enable = true;
|
autosuggestions.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Starship
|
** Starship
|
||||||
|
|||||||
Reference in New Issue
Block a user