bashrc/.bashrc.d/mkcdtemp.bash

4 lines
44 B
Bash

mkcdtemp() {
cd "$(mktemp -d)" || return
}