feat: rename Loki to Coyote
CI / All (ubuntu-latest) (push) Failing after 23s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-05-27 12:47:32 -06:00
parent b2fa8ebb71
commit 364cf29296
58 changed files with 506 additions and 3202 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
_loki_bash() {
_coyote_bash() {
if [[ -n "$READLINE_LINE" ]]; then
READLINE_LINE=$(loki -e "$READLINE_LINE")
READLINE_LINE=$(coyote -e "$READLINE_LINE")
READLINE_POINT=${#READLINE_LINE}
fi
}
bind -x '"\ee": _loki_bash'
bind -x '"\ee": _coyote_bash'
+3 -3
View File
@@ -1,7 +1,7 @@
fn _loki_elvish {
fn _coyote_elvish {
var line = (edit:current-command)
var new-line = (loki -e $line)
var new-line = (coyote -e $line)
edit:replace-input $new-line
}
edit:insert:binding[Alt-e] = $_loki_elvish
edit:insert:binding[Alt-e] = $_coyote_elvish
+3 -3
View File
@@ -1,9 +1,9 @@
function _loki_fish
function _coyote_fish
set -l _old (commandline)
if test -n $_old
echo -n "⌛"
commandline -f repaint
commandline (loki -e $_old)
commandline (coyote -e $_old)
end
end
bind \ee _loki_fish
bind \ee _coyote_fish
+4 -4
View File
@@ -1,20 +1,20 @@
def _loki_nushell [] {
def _coyote_nushell [] {
let _prev = (commandline)
if ($_prev != "") {
print '⌛'
commandline edit -r (loki -e $_prev)
commandline edit -r (coyote -e $_prev)
}
}
$env.config.keybindings = ($env.config.keybindings | append {
name: loki_integration
name: coyote_integration
modifier: alt
keycode: char_e
mode: [emacs, vi_insert]
event:[
{
send: executehostcommand,
cmd: "_loki_nushell"
cmd: "_coyote_nushell"
}
]
}
+1 -1
View File
@@ -3,7 +3,7 @@ Set-PSReadLineKeyHandler -Chord "alt+e" -ScriptBlock {
[Microsoft.PowerShell.PSConsoleReadline]::GetBufferState([ref]$_old, [ref]$null)
if ($_old) {
[Microsoft.PowerShell.PSConsoleReadLine]::Insert('⌛')
$_new = (loki -e $_old)
$_new = (coyote -e $_old)
[Microsoft.PowerShell.PSConsoleReadLine]::DeleteLine()
[Microsoft.PowerShell.PSConsoleReadline]::Insert($_new)
}
+4 -4
View File
@@ -1,11 +1,11 @@
_loki_zsh() {
_coyote_zsh() {
if [[ -n "$BUFFER" ]]; then
local _old=$BUFFER
BUFFER+="⌛"
zle -I && zle redisplay
BUFFER=$(loki -e "$_old")
BUFFER=$(coyote -e "$_old")
zle end-of-line
fi
}
zle -N _loki_zsh
bindkey '\ee' _loki_zsh
zle -N _coyote_zsh
bindkey '\ee' _coyote_zsh