mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 12:41:55 +01:00
25 lines
539 B
Text
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
|
|
}
|