first commit

This commit is contained in:
Arctic 2025-07-04 11:48:40 -05:00
commit 0610f4aeab
130 changed files with 9897 additions and 0 deletions

10
fn/z4h-accept-line Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env zsh
#
# z4h-accept-line is just like accept-line except that it inserts \n when
# accept-line would result in a parse error or PS2.
if -z4h-is-valid-list "$PREBUFFER$BUFFER"; then
zle accept-line
else
LBUFFER+=$'\n'
fi