mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-24 13:22:23 +00:00
8 lines
209 B
Bash
8 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
|
|
|