Add zsh anything.el plugin
[zsh.git] / .zsh / zaw / sources / widgets.zsh
1 function zaw-src-widgets() {
2 candidates=($(zle -l | cut -d ' ' -f 1))
3 actions=(zle-call)
4 act_descriptions=("call function with zle")
5 }
6
7 zle-call(){
8 zle $1
9 }
10
11 zaw-register-src -n widgets zaw-src-widgets