Files
dotfiles/.bash/hooks/onexit
T

4 lines
129 B
Bash
Executable File

#!/bin/env bash
[[ -f "/dev/shm/bash/$BASHPID/onexit" ]] && source "/dev/shm/bash/$BASHPID/onexit"
rm -rf /dev/shm/bash/$BASHPID