Skip to content

Commit f9373c6

Browse files
committed
zsh: add kubernetes support, fix issue with profiling
1 parent ee56666 commit f9373c6

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

zsh/.zsh/2-plugins.zsh

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ plugins=(
1111
fzf
1212
gh
1313
git
14+
kubectl
1415
macos
1516
pip
1617
rust

zsh/.zsh/alias.zsh

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ alias c="clear"
3838
alias h='history|grep'
3939
# alias mamba='micromamba'
4040
alias s='kitty +kitten ssh'
41+
alias k='kubectl'
4142

4243
# Very annoying, disabled
4344
alias sl="ls"

zsh/.zsh/kubernetes.zsh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source <(kubectl completion zsh)
2+
3+
# 'k' uses k8s autocomplete
4+
complete -F __start_kubectl k

zsh/.zshrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ ZSH_FILES_DIRECTORY=$HOME/.zsh
44
for i in $ZSH_FILES_DIRECTORY/*; do
55
source $i
66
done
7-
# zprofeval "$(uv generate-shell-completion zsh)"# >>> mamba initialize >>>
7+
# zprof

0 commit comments

Comments
 (0)