Linked my-restart-shells to my-kill-this-buffer instead of
kill-buffer-hook. Then (setq default-directory dir-path) was resulting
in "max-lisp-eval-depth exceeded errors" (not sure how) but changing it
to cd seemed to fix things.