Added new zsh.nix that will provide fancy colors
This commit is contained in:
+5
-12
@@ -2413,19 +2413,14 @@ EOF
|
||||
** Zsh
|
||||
Zsh gets installed and configured
|
||||
#+begin_src nix :tangle home/dev/zsh.nix :noweb tangle :mkdirp yes.
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
let
|
||||
repoZshConf = flakeRoot + "/assets/conf/dev/terminal/zsh.conf";
|
||||
in
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{
|
||||
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 = "";
|
||||
@@ -2438,12 +2433,10 @@ in
|
||||
"history"
|
||||
"docker"
|
||||
"kubectl"
|
||||
# IMPORTANT: these should be last
|
||||
# "zsh-autosuggestions"
|
||||
# "zsh-syntax-highlighting"
|
||||
];
|
||||
};
|
||||
'';
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
}
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user