notes/gentoo/dotfiles/.zsh/zsh-autocomplete/Functions/Util/.autocomplete__patch
2025-12-03 02:44:11 -08:00

8 lines
185 B
Bash

#!/bin/zsh
zmodload -F zsh/parameter p:functions
functions[autocomplete:${1}:old]="$(
unfunction $1 2> /dev/null
builtin autoload +X -Uz $1
print -r -- "$functions[$1]"
)"