Add gpgwkd function for gpg key fetches
[zsh.git] / .zsh / external / zaw / sources / commands.zsh
1 function zaw-src-commands() {
2 # fill the command hash
3 hash -r
4 hash -f
5 candidates=($(hash | cut -d '=' -f 1))
6 candidates+=($(alias | cut -d '=' -f 1))
7 candidates+=($(print -l ${(ok)functions}))
8 actions=(zaw-callback-execute zaw-callback-append-to-buffer zaw-callback-replace-buffer)
9 act_descriptions=("execute" "append to buffer" "replace buffer")
10 }
11
12 zaw-register-src -n commands zaw-src-commands