Add pet snippet management

This commit is contained in:
Lockszmith (@VAST) 2025-03-10 16:24:24 -04:00
parent 58e921ac4c
commit 20555a91c9
7 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
BASE_SHELL=${BASE_SHELL:-${SHELL##*/}}
if is_cmd pet; then
. <( pet completion ${BASE_SHELL} )
[[ -n "${DBG}" ]] && echo "pet loaded."
fi