Open and wait
Navigate and focus
Return focus to the terminal
Remove a tab from a split
Close created tabs
Clean up temporary tabs automatically
Use a Bash array andtrap when tabs should exist only while a script runs:
Open, wait for, focus, navigate, separate, and close tabs.
trap when tabs should exist only while a script runs: