1
0

rework personal completions

also support:
- fd/fdfind
- hyperfine
This commit is contained in:
Konstantin Demin 2022-05-18 11:28:39 +03:00
parent 2622b6e7e8
commit 23275ec9fc
Signed by: krd
GPG Key ID: 1F33CB0BA4731BC6
7 changed files with 19 additions and 17 deletions

View File

@ -0,0 +1,5 @@
#!/bin/zsh
for i ( buildah ) ; do
__z_comp_bash $i
done

View File

@ -1,3 +0,0 @@
#!/bin/zsh
__z_comp_bash buildah

View 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__*'

View File

@ -1,4 +0,0 @@
#!/bin/zsh
__z_comp_system fd
__z_comp_system fdfind

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,5 @@
#!/bin/zsh
for i ( fd fdfind hyperfine ) ; do
__z_comp_system $i
done