first commit
This commit is contained in:
commit
0610f4aeab
130 changed files with 9897 additions and 0 deletions
10
fn/z4h-eof
Normal file
10
fn/z4h-eof
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
local code=$?
|
||||
builtin zle || builtin exit code
|
||||
if [[ "$CONTEXT" == start && -z "$BUFFER" ]]; then
|
||||
typeset -g precmd_functions=(z4h-eof)
|
||||
builtin zle -w accept-line
|
||||
else
|
||||
zle -w delete-char-or-list
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue