From 94e2b056bb0cda24fe16bf2d3cdf7a1391e529b9 Mon Sep 17 00:00:00 2001 From: rdl technix Date: Fri, 23 May 2025 17:49:10 +0200 Subject: [PATCH] Eat update --- eat/.emacs.d/elpa/eat-0.8/integration/bash | 119 --------------------- eat/.emacs.d/elpa/eat-0.8/integration/zsh | 82 -------------- eat/.terminfo/65/eat-256color | Bin 2216 -> 2209 bytes eat/.terminfo/65/eat-color | Bin 2218 -> 2211 bytes eat/.terminfo/65/eat-mono | Bin 2008 -> 2001 bytes eat/.terminfo/65/eat-truecolor | Bin 2223 -> 2216 bytes eat/.terminfo/e/eat-256color | Bin 2216 -> 2209 bytes eat/.terminfo/e/eat-color | Bin 2218 -> 2211 bytes eat/.terminfo/e/eat-mono | Bin 2008 -> 2001 bytes eat/.terminfo/e/eat-truecolor | Bin 2223 -> 2216 bytes 10 files changed, 201 deletions(-) delete mode 100644 eat/.emacs.d/elpa/eat-0.8/integration/bash delete mode 100644 eat/.emacs.d/elpa/eat-0.8/integration/zsh diff --git a/eat/.emacs.d/elpa/eat-0.8/integration/bash b/eat/.emacs.d/elpa/eat-0.8/integration/bash deleted file mode 100644 index bfe18ed..0000000 --- a/eat/.emacs.d/elpa/eat-0.8/integration/bash +++ /dev/null @@ -1,119 +0,0 @@ -# integration/bash --- Bash integration - -# Copyright (C) 2022 Akib Azmain Turja. - -# This file is not part of GNU Emacs. - -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# For a full copy of the GNU General Public License -# see . - -__eat_prompt_command () { - # Send exit status. - if test -n "$__eat_current_command" - then - printf '\e]51;e;H;%i\e\\' "$__eat_exit_status" - fi - __eat_current_command="" - # Send the current working directory, for directory tracking. - printf '\e]51;e;A;%s;%s\e\\' "$(printf "%s" "$HOSTNAME" | base64)" \ - "$(printf "%s" "$PWD" | base64)" - # Update title. - # "${PWD/$HOME/'~'}" converts "/home/akib/org/" to "~/org/". - # The next one is substituted with '$', or '#' if we're "root". - printf '\e]2;%s@%s:%s%s\e\\' "$USER" "$HOSTNAME" \ - "${PWD/$HOME/'~'}" \ - "$(test $UID -eq 0 && echo '#' || echo '$')" -} - -__eat_preexec () { - # Get the real command typed by the user from the history. - __eat_current_command="$(history 1 | sed 's/ *[0-9]* *//')" - # Send current command. - printf '\e]51;e;F;%s\e\\' \ - "$(printf "%s" "$__eat_current_command" | base64)" - # Send pre-exec sequence. - printf '\e]51;e;G\e\\' - # Update title to include the command running. - # "${PWD/$HOME/'~'}" converts "/home/akib/foo/" to "~/foo/". - # The next one is substituted with '$', or '#' if we're "root". - printf '\e]2;%s@%s:%s%s %s\e\\' "$USER" "$HOSTNAME" \ - "${PWD/$HOME/'~'}" \ - "$(test $UID -eq 0 && echo '#' || echo '$')" \ - "$__eat_current_command" -} - -__eat_before_prompt_command () -{ - __eat_exit_status="$?" - __eat_inhibit_preexec=yes -} - -__eat_after_prompt_command () -{ - __eat_inhibit_preexec=no -} - -__eat_before_exec () { - if test $__eat_inhibit_preexec = no \ - && test "$BASH_COMMAND" != __eat_before_prompt_command - then - __eat_inhibit_preexec=yes - __eat_preexec - fi -} - -__eat_enable_integration () -{ - __eat_integration_enabled=yes - __eat_current_command="" - __eat_exit_status=0 - __eat_inhibit_preexec=yes - local __eat_prompt_start='\e]51;e;B\e\\' - local __eat_prompt_end='\e]51;e;C\e\\' - local __eat_continuation_start='\e]51;e;D\e\\' - local __eat_continuation_end='\e]51;e;E\e\\' - PS1="\[$__eat_prompt_start\]$PS1\[$__eat_prompt_end\]" - PS2="\[$__eat_continuation_start\]$PS2\[$__eat_continuation_end\]" - PROMPT_COMMAND+=(__eat_prompt_command) - trap '__eat_before_exec' DEBUG - # Wrap 'PROMPT_COMMAND' to avoid it getting trapped in 'DEBUG' trap. - # Step 1: Append to PROMPT_COMMAND. - PROMPT_COMMAND+=(__eat_after_prompt_command) - # Step 2: Prepend to PROMPT_COMMAND. - # Step 2.1: Move all elements to make the first index free. - # Fun fact: Microsoft doesn't still about know this simple trick. - # They ended up using something as silly and pityful as - # 'VAR=$PROMPT_COMMAND' to copy a Bash array in VSCode Bash - # integration script, which simply won't work ever, and then - # complain about Bash in the comments! xD - for i in $(eval "echo {${#PROMPT_COMMAND[*]}..1..-1}") - do - PROMPT_COMMAND[$i]=${PROMPT_COMMAND[$((i-1))]} - done - # Step 2.2: Assign the first element. - PROMPT_COMMAND[0]=__eat_before_prompt_command -} - -# Enable. -if test -z "$__eat_integration_enabled" && \ - test "${TERM:0:4}" = "eat-" -then - __eat_enable_integration -else - true -fi - -# Local Variables: -# mode: sh -# sh-shell: bash -# End: diff --git a/eat/.emacs.d/elpa/eat-0.8/integration/zsh b/eat/.emacs.d/elpa/eat-0.8/integration/zsh deleted file mode 100644 index 1fb4d79..0000000 --- a/eat/.emacs.d/elpa/eat-0.8/integration/zsh +++ /dev/null @@ -1,82 +0,0 @@ -# integration/zsh --- Zsh integration - -# Copyright (C) 2022, 2023 Akib Azmain Turja. - -# This file is not part of GNU Emacs. - -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# For a full copy of the GNU General Public License -# see . - -__eat_precmd () { - __eat_exit_status="$?" - # Send exit status. - if test -n "$__eat_current_command" - then - printf '\e]51;e;H;%i\e\\' "$__eat_exit_status" - fi - __eat_current_command="" - # Send the current working directory, for directory tracking. - printf '\e]51;e;A;%s;%s\e\\' "$(printf "%s" "$HOST" | base64)" \ - "$(printf "%s" "$PWD" | base64)" - # Update title. - # "${PWD/$HOME/'~'}" converts "/home/akib/org/" to "~/org/". - # The next one is substituted with '$', or '#' if we're "root". - printf '\e]2;%s@%s:%s%s\e\\' "$USER" "$HOST" "${PWD/$HOME/~}" \ - "$(test $UID -eq 0 && echo '#' || echo '%')" -} - -__eat_preexec () { - __eat_current_command="$1" - # Send current command. - printf '\e]51;e;F;%s\e\\' \ - "$(printf "%s" "$__eat_current_command" | base64)" - # Send pre-exec sequence. - printf '\e]51;e;G\e\\' - # Update title to include the command running. - # "${PWD/$HOME/~}" converts "/home/akib/foo/" to "~/foo/". - # The next one is substituted with '%', or '#' if we're "root". - printf '\e]2;%s@%s:%s%s %s\e\\' "$USER" "$HOST" "${PWD/$HOME/~}" \ - "$(test $UID -eq 0 && echo '#' || echo '%')" \ - "$__eat_current_command" -} - -__eat_enable_integration () -{ - __eat_integration_enabled=yes - __eat_current_command="" - __eat_exit_status=0 - local __eat_prompt_start="$(printf '\e]51;e;B\e\\')" - local __eat_prompt_end="$(printf '\e]51;e;C\e\\')" - local __eat_continuation_start="$(printf '\e]51;e;D\e\\')" - local __eat_continuation_end="$(printf '\e]51;e;E\e\\')" - PS1="%{$__eat_prompt_start%}$PS1%{$__eat_prompt_end%}" - PS2="%{$__eat_continuation_start%}$PS2%{$__eat_continuation_end%}" - # TODO: What to do about RPS1 and friends? - autoload -Uz add-zsh-hook - add-zsh-hook precmd __eat_precmd - add-zsh-hook preexec __eat_preexec -} - -# Enable. -if test -z "$__eat_integration_enabled" && \ - test "${TERM:0:4}" = "eat-" -then - __eat_enable_integration -else - true -fi - -# Local Variables: -# mode: sh -# sh-shell: zsh -# End: diff --git a/eat/.terminfo/65/eat-256color b/eat/.terminfo/65/eat-256color index dda98bd68ca55766c06fed82dad16bf579d7d21b..9422b9d80b98bee2564620940d7981d0aaaf45a5 100644 GIT binary patch delta 307 zcmZ1>xKNN=j!B(CmVuuklTmsj_ew^tNlgENU>egLriqDSOpBN%3o@J3F9Qp%1(P7@ zElj(a4uN?mf#e0K_;tAa|Nr-xo-n;)`pEQy=|2-2Gas`UvmCP;vmUb?3iA9UWh{cM&RBjH-?ai^wQ<)f}Hos@>W>RKiU||qtU|?VaVpay}Xd}y9APFRjaw{qria`Vb DPE~%l delta 316 zcmZ1|xI&Oyj!B(CmVuuklTmyl_ew^t|6nkQX$I58L@}m$Op^tfP3jjhfkan=Nf2uT z({`qPVBS$6c?K$e87}|-|1G8mOwX9!GJRqC&BVma#Vo`u#jM1v#cafE#q7lF$sE8O z&K$>_#+=7o#$3nT#@xp|jd>pPQsyrk$Acc-R z|EECZX0Tk}9LqeFY4bPM4kkTj1~vv61_lNe1}-4U%)r4Q9qk3gMwYoi5=gkFFcjrh JR4^2S2mpNIfGz+4 diff --git a/eat/.terminfo/65/eat-color b/eat/.terminfo/65/eat-color index 53ed6a6b11a953a9591430a1316e4b3607e5943b..19768a7f4d96726bb0381dec6052b1da96ceb99a 100644 GIT binary patch delta 315 zcmZ1_xLA-|icyV0mVuuklhI})cQ+%~B&PpBFpX&r)8vDUVoZyeCNnY{*Z*Gz7G4V` zK?=4o?PfXz=A8tR7og(T;qw3g-(z~h^or>t(+{TqOl-`2%wo)P%xcVf%x27X%x=uS z%puIt%t_2y%tg#q%uUQ)%#)aBF)w0X$-IGiJM%u~W6bB6uQA_ae#ZQc`5UvsKW0`I z9u{F1DHbIbEfymdD;6gfFP0#dD3(N)43>NrpdCCOd3K7#_HQH>?Je7$tYV$?b)lAAv3@i+y3=9lxK+MV@9c^Tp3nYO= MQEo*ALotW|09q=7xc~qF delta 324 zcmZ21xJr;)icyV0mVuuklhI-$cQ+%~e=wNDG=pjKK}IpAc}$ZTnT_lJFJc0TuLP4I z)&{2SO#8sRqd@WuRQxhr{{R15Ob?izF}-E_!t|SoiJ6O8h*^qRiCK%;h}nwSiP@7m zfH|Bwjya7vkGYJwj=7Dwk9ivNJm#g$YnV4P?_xg0e2V!J^DX8_%&(X~F)RFHW@O=D z;b#$Jkz-L~(PJ@Vv14&#@nZ>NiDgM)$z}mMQctyjrJ4ogwgxZ>Vs)~dhqFQa|NliN ze`FG7lme2@+zPA^F%?$5&GyVwnKs{GUBRTs%)rJV!@$76!oUS2nHe}3q@%rn*vK*$ SNCFAh6o#VQiVB8e5CH(L&4efb diff --git a/eat/.terminfo/65/eat-mono b/eat/.terminfo/65/eat-mono index 5d4b98b03a6adec85048e71482c697b5d9284c7d..21ca9af78b93ccaf4e8eafc2b1d0e2175b4e21e3 100644 GIT binary patch delta 276 zcmcb?f03VCicyI{ih-FSg>mvm?rcV`NlgENU>egLrpXH##h4Z`O@7E^T>pO=Sa>a% z1S#0Uw43P=n0FFLUVw^Uhs*!}e~;-2(<`QrOh1_ZGqExAF^e(FF{?4_F`F^lF}pGQ zGKVlnGbb@;F&8mcF*h-HF;8Ni#k`1lCG!U6?acd_k1?NPzQ%ly`5E&&=5NgM|Cm`> zcvys4q*#<#v{;N-tXP~_yjX%*qF54HGFb8_Uu4o}E@7z$(u#~NKvI~o6G%EU_HPzt rp31}+wRt%!Gm|nC0}F#F0|Nsa5VJB!M;lq@0!biIlv`23Pz)jftg&O` delta 284 zcmcb}e}kV}icyI{ih-FSg|UAlcQzx}e=wNDG=pjKLPjyBc}$ZZG8xzZU&I6wUkN5b ztPM=tnf8HsM}g!SsQ6{L{Qv*Am>w`aV|vTQxk63ddpl0Eq%lRk3+OEr*IWNZME!i=pz(wVV)vncaa wrp4=6ne><$*cfCO7#LU>xPT-x0|$e2v=^&sAmN(AP?TFy!B7k$0D`Y&RsaA1 diff --git a/eat/.terminfo/65/eat-truecolor b/eat/.terminfo/65/eat-truecolor index c2c86b92d7778650f40314d613956d5bccdfd538..d307bbb38b5c356a181c01d005e2f18d713a015d 100644 GIT binary patch delta 314 zcmZ24xI&Oyj!B(CmVuuklTmsj_ew^tNlgENU>egLriqDSOpBN%3o@J3F9Qp%1(P7@ zElj(a4uN?mf#e0K_;tAa|Nr-xo-n;)`pEQy=|2-2Gas`UvmCP;vmUb?3iA9UWh{cMxL%N3j!B(CmVuuklTmyl_ew^t|6nkQX$I58L@}m$Op^tfP3jjhfkan=Nf2uT z({`qPVBS$6c?K$e87}|-|1G8mOwX9!GJRqC&BVma#Vo`u#jM1v#cafE#q7lF$sE8O z&K$>_#+=7o#$3nT#@xp|jd>pPQsy#7BTWkU~eE z|5KoHGgz)~j%A+8wD}ur2a_o?13QB}10w?i0}BHekYr|HW8h|xj`jj#BgYpz0KPGRiU0rr diff --git a/eat/.terminfo/e/eat-256color b/eat/.terminfo/e/eat-256color index dda98bd68ca55766c06fed82dad16bf579d7d21b..9422b9d80b98bee2564620940d7981d0aaaf45a5 100644 GIT binary patch delta 307 zcmZ1>xKNN=j!B(CmVuuklTmsj_ew^tNlgENU>egLriqDSOpBN%3o@J3F9Qp%1(P7@ zElj(a4uN?mf#e0K_;tAa|Nr-xo-n;)`pEQy=|2-2Gas`UvmCP;vmUb?3iA9UWh{cM&RBjH-?ai^wQ<)f}Hos@>W>RKiU||qtU|?VaVpay}Xd}y9APFRjaw{qria`Vb DPE~%l delta 316 zcmZ1|xI&Oyj!B(CmVuuklTmyl_ew^t|6nkQX$I58L@}m$Op^tfP3jjhfkan=Nf2uT z({`qPVBS$6c?K$e87}|-|1G8mOwX9!GJRqC&BVma#Vo`u#jM1v#cafE#q7lF$sE8O z&K$>_#+=7o#$3nT#@xp|jd>pPQsyrk$Acc-R z|EECZX0Tk}9LqeFY4bPM4kkTj1~vv61_lNe1}-4U%)r4Q9qk3gMwYoi5=gkFFcjrh JR4^2S2mpNIfGz+4 diff --git a/eat/.terminfo/e/eat-color b/eat/.terminfo/e/eat-color index 53ed6a6b11a953a9591430a1316e4b3607e5943b..19768a7f4d96726bb0381dec6052b1da96ceb99a 100644 GIT binary patch delta 315 zcmZ1_xLA-|icyV0mVuuklhI})cQ+%~B&PpBFpX&r)8vDUVoZyeCNnY{*Z*Gz7G4V` zK?=4o?PfXz=A8tR7og(T;qw3g-(z~h^or>t(+{TqOl-`2%wo)P%xcVf%x27X%x=uS z%puIt%t_2y%tg#q%uUQ)%#)aBF)w0X$-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HsM}g!SsQ6{L{Qv*Am>w`aV|vTQxk63ddpl0Eq%lRk3+OEr*IWNZME!i=pz(wVV)vncaa wrp4=6ne><$*cfCO7#LU>xPT-x0|$e2v=^&sAmN(AP?TFy!B7k$0D`Y&RsaA1 diff --git a/eat/.terminfo/e/eat-truecolor b/eat/.terminfo/e/eat-truecolor index c2c86b92d7778650f40314d613956d5bccdfd538..d307bbb38b5c356a181c01d005e2f18d713a015d 100644 GIT binary patch delta 314 zcmZ24xI&Oyj!B(CmVuuklTmsj_ew^tNlgENU>egLriqDSOpBN%3o@J3F9Qp%1(P7@ zElj(a4uN?mf#e0K_;tAa|Nr-xo-n;)`pEQy=|2-2Gas`UvmCP;vmUb?3iA9UWh{cMxL%N3j!B(CmVuuklTmyl_ew^t|6nkQX$I58L@}m$Op^tfP3jjhfkan=Nf2uT z({`qPVBS$6c?K$e87}|-|1G8mOwX9!GJRqC&BVma#Vo`u#jM1v#cafE#q7lF$sE8O z&K$>_#+=7o#$3nT#@xp|jd>pPQsy#7BTWkU~eE z|5KoHGgz)~j%A+8wD}ur2a_o?13QB}10w?i0}BHekYr|HW8h|xj`jj#BgYpz0KPGRiU0rr