Check if pane_pid has children before sourcing zshrc