From 1d7b04a71c7222153ffa9cd48f73b51ea72204d1 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 18 Feb 2023 05:13:27 -0500 Subject: major refactor - `mkHost` now accepts an optional `specialArgs` argument to be passed to `nixosSystem()` - the `modules` argument for `mkHMUser` is now optional --- users/seth/shell/zsh/default.nix | 38 ++++++++++++++------------------------ 1 file changed, 14 insertions(+), 24 deletions(-) (limited to 'users/seth/shell/zsh/default.nix') diff --git a/users/seth/shell/zsh/default.nix b/users/seth/shell/zsh/default.nix index b37b071..8f78bcd 100644 --- a/users/seth/shell/zsh/default.nix +++ b/users/seth/shell/zsh/default.nix @@ -4,7 +4,7 @@ ... }: { programs.zsh = { - enable = !config.seth.standalone; + enable = false; enableAutosuggestions = true; enableSyntaxHighlighting = true; enableVteIntegration = true; @@ -22,6 +22,9 @@ defaultKeymap = "emacs"; dotDir = ".config/zsh"; initExtra = '' + autoload -Uz promptinit + prompt walters + zmodload zsh/zutil zmodload zsh/complist zstyle ":completion::*" group-name "" @@ -35,7 +38,6 @@ unsetopt ignore_braces unsetopt list_beep setopt always_to_end - setopt inc_append_history setopt prompt_subst setopt share_history @@ -59,11 +61,11 @@ size = 100; }; plugins = [ - { - name = "powerlevel10k"; - src = pkgs.zsh-powerlevel10k; - file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; - } + # { + # name = "powerlevel10k"; + # src = pkgs.zsh-powerlevel10k; + # file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; + # } { name = "zsh-completions"; @@ -71,18 +73,6 @@ file = "share/zsh-completions/zsh-completions.plugin.zsh"; } - { - name = "zsh-autosuggestions"; - src = pkgs.zsh-autosuggestions; - file = "share/zsh-autosuggestions/zsh-autosuggestions.zsh"; - } - - { - name = "zsh-syntax-highlighting"; - src = pkgs.zsh-syntax-highlighting; - file = "share/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"; - } - { name = "cattppuccin-zsh-syntax-highlighting"; src = pkgs.fetchFromGitHub { @@ -95,11 +85,11 @@ file = "themes/catppuccin_mocha-zsh-syntax-highlighting.zsh"; } - { - name = "powerlevel10k-config"; - src = ./files; - file = ".p10k.zsh"; - } + # { + # name = "powerlevel10k-config"; + # src = ./files; + # file = ".p10k.zsh"; + # } ]; }; } -- cgit v1.2.3