Add functions capability

Includes the wreck directory function
This commit is contained in:
Michael Yockey
2023-01-25 11:40:49 -05:00
parent aec6289293
commit 1737a0f0a8
3 changed files with 22 additions and 0 deletions

7
functions/wreck.zsh Normal file
View File

@@ -0,0 +1,7 @@
function wreck() {
pushd .
WRECKDIR=`mktemp -d /tmp/wreckXXXXXXXXX` && {
cd $WRECKDIR
}
}