Improving shell

This commit is contained in:
2025-10-13 18:29:23 +02:00
parent 3df4363583
commit e1d128f28a
11 changed files with 181 additions and 89 deletions

View File

@@ -0,0 +1,22 @@
{
pkgs,
...
}:
{
environment.systemPackages = [
pkgs.kubectl
pkgs.kubernetes-helm
pkgs.k9s # Interface TUI pour Kubernetes
pkgs.kubectx # Changement rapide de contexte
pkgs.kustomize
];
programs.zsh.promptInit = ''
# kubectl
source <(kubectl completion zsh)
alias k=kubectl
alias h=helm
alias kn=kubens
compdef __start_kubectl k
compdef __start_helm h
'';
}