Open dmd opened 4 years ago
This is the broot generated bash function:
function br {
f=$(mktemp)
(
set +e
broot --outcmd "$f" "$@"
code=$?
if [ "$code" != 0 ]; then
rm -f "$f"
exit "$code"
fi
)
code=$?
if [ "$code" != 0 ]; then
return "$code"
fi
d=$(<"$f")
rm -f "$f"
eval "$d"
}
Just for quickly trying out broot on tcsh, this works: broot --outcmd `mktemp`
.
Please add a [t]csh version of the launcher script.