diff options
| -rw-r--r-- | users/seth/shell/zsh.nix | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/users/seth/shell/zsh.nix b/users/seth/shell/zsh.nix index c6b7ee1..3e9d5e9 100644 --- a/users/seth/shell/zsh.nix +++ b/users/seth/shell/zsh.nix @@ -3,10 +3,11 @@ pkgs, ... }: { + home.packages = with pkgs; [fzf]; + programs.zsh = { - enable = false; + enable = true; enableAutosuggestions = true; - enableVteIntegration = true; completionInit = '' autoload -Uz bashcompinit compinit local zdump="${config.xdg.cacheHome}/zsh/zdump" @@ -21,8 +22,9 @@ defaultKeymap = "emacs"; dotDir = ".config/zsh"; initExtra = '' - autoload -Uz promptinit - prompt walters + autoload -Uz promptinit colors + promptinit + colors zmodload zsh/zutil zmodload zsh/complist @@ -61,12 +63,6 @@ }; plugins = [ { - name = "zsh-completions"; - src = pkgs.zsh-completions; - file = "share/zsh-completions/zsh-completions.plugin.zsh"; - } - - { name = "cattppuccin-zsh-syntax-highlighting"; src = pkgs.fetchFromGitHub { owner = "catppuccin"; @@ -77,6 +73,30 @@ file = "themes/catppuccin_mocha-zsh-syntax-highlighting.zsh"; } + + { + name = "nix-zsh-completions"; + src = pkgs.nix-zsh-completions; + file = "share/zsh/plugins/nix/nix-zsh-completions.plugin.zsh"; + } + + { + name = "zsh-autopair"; + src = pkgs.zsh-autopair; + file = "share/zsh/zsh-autopair/autopair.zsh"; + } + + { + name = "zsh-fzf-tab"; + src = pkgs.zsh-fzf-tab; + file = "share/fzf-tab/fzf-tab.plugin.zsh"; + } + + { + name = "zsh-completions"; + src = pkgs.zsh-completions; + file = "share/zsh-completions/zsh-completions.plugin.zsh"; + } ]; enableSyntaxHighlighting = true; }; |
