Added mkcdtemp which does the same as mkcd, but with no arguments, and uses mktemp as the cd target

This commit is contained in:
David Thurstenson 2022-04-10 23:24:54 -05:00
parent 775b7b5d8a
commit 5eb94d830e
1 changed files with 3 additions and 0 deletions

3
.bashrc.d/mkcdtemp.bash Normal file
View File

@ -0,0 +1,3 @@
mkcdtemp() {
cd "$(mktemp -d)" || return
}