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

18
fn/-z4h-postinstall-fz Normal file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env zsh
eval "$_z4h_opt"
local file=$Z4H_PACKAGE_DIR/fz.plugin.zsh
[[ -e $file ]] || return 0
local code
code=$(<$file) || return
local orig='
__fz_init_zsh_completion() {
'
local sub='
__fz_init_zsh_completion() {
[[ -n ${ZSH_SCRIPT+X}${ZSH_EXECUTION_STRING+X} ]] && return
'
print -r -- ${code/$orig/$sub} >$file