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