feat(zsh): os-specific omz plugins

This commit is contained in:
winston 2023-09-03 00:48:39 +02:00
parent e4424f982a
commit fe438a67d7
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -1,6 +1,7 @@
{ {
config, config,
flakePath, flakePath,
lib,
pkgs, pkgs,
... ...
}: let }: let
@ -113,13 +114,18 @@ in {
dotDir = ".config/zsh"; dotDir = ".config/zsh";
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins =
[
"colored-man-pages" "colored-man-pages"
"colorize" "colorize"
"docker" "docker"
"docker-compose" "docker-compose"
"git" "git"
"kubectl" "kubectl"
]
++ lib.optionals pkgs.stdenv.isDarwin [
"dash"
"macos"
]; ];
}; };
plugins = with pkgs; (zshPlugins [ plugins = with pkgs; (zshPlugins [