about summary refs log tree commit diff
path: root/Functions/Misc/mkshadow
blob: 2ae3a0f2c8f3bc78cd60943e72360e04e4dbd2d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#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 "$@"