rework personal completions
also support: - fd/fdfind - hyperfine
This commit is contained in:
parent
2622b6e7e8
commit
23275ec9fc
5
.config/zsh/completion/bash.zsh
Normal file
5
.config/zsh/completion/bash.zsh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/zsh
|
||||
|
||||
for i ( buildah ) ; do
|
||||
__z_comp_bash $i
|
||||
done
|
@ -1,3 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
__z_comp_bash buildah
|
9
.config/zsh/completion/external.zsh
Normal file
9
.config/zsh/completion/external.zsh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/zsh
|
||||
|
||||
__z_comp__kubectl() { command kubectl completion zsh ; }
|
||||
__z_comp__podman() { command podman completion zsh ; }
|
||||
|
||||
for i ( kubectl podman ) ; do
|
||||
__z_comp_external $i "__z_comp__$i"
|
||||
done
|
||||
unset -fm '__z_comp__*'
|
@ -1,4 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
__z_comp_system fd
|
||||
__z_comp_system fdfind
|
@ -1,5 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
__z_comp_kubectl() { command kubectl completion zsh ; }
|
||||
__z_comp_external kubectl __z_comp_kubectl
|
||||
unset -f __z_comp_kubectl
|
@ -1,5 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
__z_comp_podman() { command podman completion zsh ; }
|
||||
__z_comp_external podman __z_comp_podman
|
||||
unset -f __z_comp_podman
|
5
.config/zsh/completion/system.zsh
Normal file
5
.config/zsh/completion/system.zsh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/zsh
|
||||
|
||||
for i ( fd fdfind hyperfine ) ; do
|
||||
__z_comp_system $i
|
||||
done
|
Loading…
Reference in New Issue
Block a user