1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-10 16:31:27 +02:00
zsh/Functions/Misc/mkshadow

11 lines
323 B
Text

#autoload
# Front-end to the completion helper _shadow for use outside completion.
# This just forces proper autoload of _shadow/_unshadow and calls them.
autoload _shadow
mkshadow() { unset REPLY; _shadow "$@" }
rmshadow() { unset REPLY; _unshadow }
# Bootstrap because of autoload special case
unset REPLY
_shadow "$@"