18 lines
256 B
Plaintext
18 lines
256 B
Plaintext
|
#alias:new br e:broot -dp
|
||
|
#fn br [@_args]{ e:broot -dp $@_args }
|
||
|
fn br [@_args]{
|
||
|
f = (mktemp)
|
||
|
try {
|
||
|
e:broot --outcmd $f -dp $@_args
|
||
|
} except e {
|
||
|
rm -f $f
|
||
|
return
|
||
|
}
|
||
|
try {
|
||
|
-source $f
|
||
|
} except e {
|
||
|
} finally {
|
||
|
rm -f $f
|
||
|
}
|
||
|
}
|