Improve scratch script

It now execs bash, so the process chain doesn't get needlessly long with
nested calls to the script.
This commit is contained in:
Talia 2018-11-29 08:54:00 +01:00
parent 928694ebd1
commit 7824cbd7d1

View file

@ -6,4 +6,4 @@ function finish {
}
trap finish EXIT
trap finish TERM
bash --init-file <(echo "source ~/.bashrc; pushd $scratch > /dev/null")
exec bash --init-file <(echo "source ~/.bashrc; pushd $scratch > /dev/null")