mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-25 01:26:17 +00:00
kubecolor: add oc alias
This commit is contained in:
parent
e94ec0a6cd
commit
f9f766c600
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ in {
|
|||
|
||||
home.shellAliases = lib.mkIf (cfg.enableAlias && (cfg.package != null)) {
|
||||
kubectl = lib.getExe cfg.package;
|
||||
oc = lib.mkIf (builtins.elem pkgs.openshift config.home.packages) "env KUBECTL_COMMAND=${lib.getExe pkgs.openshift} ${lib.getExe cfg.package}";
|
||||
};
|
||||
|
||||
programs.zsh.initContent =
|
||||
|
|
Loading…
Add table
Reference in a new issue