aur/pkgx.install
Claudia Pellegrino 3c65e7afae
pkgx v1.1.2
2023-12-22 23:14:24 +01:00

25 lines
539 B
Text

post_install() {
cat << 'EOF'
Try it out:
pkgx node@18 --eval 'console.log("pkgx: run anything")'
Shell integration:
pkgx integrate --dry-run
# ^^ https://docs.pkgx.sh/shell-integration
EOF
}
post_remove() {
cat << 'EOF'
To clean up pkgx leftovers from your home directory, run:
pkgx deintegrate
pkgx unload
unset -f cd dev env
rm -rf ~/.pkgx
rm -rf "${XDG_CACHE_HOME:-$HOME/.cache}/pkgx"
rm -rf "${XDG_DATA_HOME:-$HOME/.local/share}"/pkgx
EOF
}