#! /usr/bin/env sh export SHORTSHELL=$(ps -p $$ | tail -n 1 | awk '{ print $NF }') if [ -z "${SHELLSTORE}" ] then export SHELLSTORE=$(mktemp -d -t "shellstore_XXXXX") fi