blob: 9af8dd74a6fb9601186187b505926b343a74060f (
plain) (
blame)
1
2
3
4
5
6
|
# Create a temporary directory and change into it, to stop me putting stray
# files into $HOME, and making the system do cleanup for me. Single optional
# argument is the string to use for naming the directory; defaults to "scr".
scr() {
cd -- "$(mktd "${1:-scr}")" || return
}
|