From f419f2bd52d1788b3fe5fd568584393a89882cc3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 22 Mar 2023 22:26:30 +0000 Subject: [PATCH] feat(zsh): update plugins --- home-manager/modules/zsh.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/home-manager/modules/zsh.nix b/home-manager/modules/zsh.nix index 1b158da..1155844 100644 --- a/home-manager/modules/zsh.nix +++ b/home-manager/modules/zsh.nix @@ -14,11 +14,11 @@ }; initExtra = '' - if [ -f ~/.config/zsh/.p10k.zsh ]; then - . ~/.config/zsh/.p10k.zsh - fi eval "$(zoxide init zsh)" + # Plugins + source "''${ZPLUG_REPOS}/robbyrussell/oh-my-zsh/plugins/git/git.plugin.zsh" + source "''${ZPLUG_REPOS}/robbyrussell/oh-my-zsh/plugins/vi-mode/vi-mode.plugin.zsh" # Case insensitive autocompletion. zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*" @@ -106,8 +106,9 @@ enable = true; plugins = [ + { name = "plugin/git"; tags = [from:oh-my-zsh]; } + { name = "plugin/vi-mode"; tags = [from:oh-my-zsh]; } { name = "mollifier/cd-gitroot"; } - { name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; } { name = "zsh-users/zsh-autosuggestions"; } { name = "zsh-users/zsh-completions"; } { name = "zsh-users/zsh-syntax-highlighting"; }