first commit
This commit is contained in:
commit
0610f4aeab
130 changed files with 9897 additions and 0 deletions
19
fn/-z4h-insert-all
Normal file
19
fn/-z4h-insert-all
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
local hook=${widgets[zle-line-pre-redraw]-}
|
||||
if [[ $hook == user:* ]]; then
|
||||
hook=${hook#user:}
|
||||
else
|
||||
hook=
|
||||
fi
|
||||
|
||||
{
|
||||
if [[ -n $hook ]]; then
|
||||
builtin zle -D zle-line-pre-redraw
|
||||
fi
|
||||
builtin zle -- -z4h-comp-insert-all
|
||||
} always {
|
||||
if [[ -n $hook ]]; then
|
||||
zle -N -- zle-line-pre-redraw "$hook"
|
||||
fi
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue