#!/bin/env bash if [[ -f "/dev/shm/bash/$BASHPID/onexit" ]]; then source "/dev/shm/bash/$BASHPID/onexit" fi rm -rf /dev/shm/bash/$BASHPID