Files
coyote/scripts/shell-integration/integration.zsh
T
Dark-Alex-17 364cf29296
CI / All (ubuntu-latest) (push) Failing after 23s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled
feat: rename Loki to Coyote
2026-05-27 12:47:32 -06:00

11 lines
242 B
Bash

_coyote_zsh() {
if [[ -n "$BUFFER" ]]; then
local _old=$BUFFER
BUFFER+="⌛"
zle -I && zle redisplay
BUFFER=$(coyote -e "$_old")
zle end-of-line
fi
}
zle -N _coyote_zsh
bindkey '\ee' _coyote_zsh