Added mkcdtemp which does the same as mkcd, but with no arguments, and uses mktemp as the cd target
This commit is contained in:
parent
775b7b5d8a
commit
5eb94d830e
3
.bashrc.d/mkcdtemp.bash
Normal file
3
.bashrc.d/mkcdtemp.bash
Normal file
@ -0,0 +1,3 @@
|
||||
mkcdtemp() {
|
||||
cd "$(mktemp -d)" || return
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user