Add pet snippet management
This commit is contained in:
parent
58e921ac4c
commit
20555a91c9
7 changed files with 79 additions and 0 deletions
9
_src.posix/private_dot_config/sz.env/zza_pet.env
Normal file
9
_src.posix/private_dot_config/sz.env/zza_pet.env
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue