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,14 +114,19 @@ in {
dotDir = ".config/zsh"; dotDir = ".config/zsh";
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins =
"colored-man-pages" [
"colorize" "colored-man-pages"
"docker" "colorize"
"docker-compose" "docker"
"git" "docker-compose"
"kubectl" "git"
]; "kubectl"
]
++ lib.optionals pkgs.stdenv.isDarwin [
"dash"
"macos"
];
}; };
plugins = with pkgs; (zshPlugins [ plugins = with pkgs; (zshPlugins [
{ {