From a21cdd09f38d5ddec4983961356150de84c0fdfa Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 24 Oct 2024 14:41:00 +0200 Subject: [PATCH] Add kubectl plugin --- modules/cli/zsh/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/cli/zsh/default.nix b/modules/cli/zsh/default.nix index ccad1e6..ca62e82 100644 --- a/modules/cli/zsh/default.nix +++ b/modules/cli/zsh/default.nix @@ -220,6 +220,16 @@ src = pkgs.oh-my-zsh; file = "share/oh-my-zsh/plugins/git/git.plugin.zsh"; } + { + name = "kubectl"; + src = pkgs.oh-my-zsh; + file = "share/oh-my-zsh/plugins/kubectl/kubectl.plugin.zsh"; + } + { + name = "clipcopy"; # dependency of copypath & copyfile + src = pkgs.oh-my-zsh; + file = "share/oh-my-zsh/lib/clipboard.zsh"; + } { name = "copypath"; src = pkgs.oh-my-zsh; @@ -230,11 +240,6 @@ src = pkgs.oh-my-zsh; file = "share/oh-my-zsh/plugins/copyfile/copyfile.plugin.zsh"; } - { - name = "clipcopy"; # dependency of copypath & copyfile - src = pkgs.oh-my-zsh; - file = "share/oh-my-zsh/lib/clipboard.zsh"; - } ]; initExtra = builtins.readFile ./init.zsh;