You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to make a bash script which will run multiple apps/services in one window, but different tabs. Is it possible with the current version of Hyper?
ChatGPT recommended this:
# Launch Hyper with various tabs and commands
# Commands to run in tabs
commands=(
"cd path_to_first_service_folder && command_to_run_first_service",
"cd path_to_second_service_folder && command_to_run_second_service",
# add other commands as needed
)
# Command string to launch Hyper
hyper_cmd="hyper"
# Adding commands for each tab
for cmd in "${commands[@]}"; do
hyper_cmd+=" new-tab -c \"$cmd\""
done
# Execute the Hyper launch command
eval $hyper_cmd
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to make a bash script which will run multiple apps/services in one window, but different tabs. Is it possible with the current version of Hyper?
ChatGPT recommended this:
But this is not working
Beta Was this translation helpful? Give feedback.
All reactions