Add functions capability
Includes the wreck directory function
This commit is contained in:
7
functions/wreck.zsh
Normal file
7
functions/wreck.zsh
Normal file
@@ -0,0 +1,7 @@
|
||||
function wreck() {
|
||||
pushd .
|
||||
|
||||
WRECKDIR=`mktemp -d /tmp/wreckXXXXXXXXX` && {
|
||||
cd $WRECKDIR
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user