mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-23 21:12:22 +00:00
9 lines
209 B
Bash
9 lines
209 B
Bash
|
_pipr_expand_widget() {
|
||
|
emulate -LR zsh
|
||
|
</dev/tty pipr --out-file /tmp/pipr_out --default "$LBUFFER" >/dev/null
|
||
|
LBUFFER=$(< /tmp/pipr_out)
|
||
|
}
|
||
|
zle -N _pipr_expand_widget
|
||
|
bindkey '\ea' _pipr_expand_widget
|
||
|
|