Skip to content
Ethan Pailes edited this page Jun 25, 2024 · 1 revision

shpool attach hangs when trying to launch a new shell

Make sure that your default shell arrives at a normal shell prompt when launched. In order to set up a prompt prefix, shpool expects that your shell will behave as an interactive shell when it first launches. If you have something in your startup .rc file that pauses setup for some sort of non-shell interaction, this expectation is violated. Examples might include having a sudo command in your .bashrc or having a read loop that asks you to choose between one of several workspaces to focus on.

See #66 for more context. Once that issue is closed, you will be able to have interaction in your startup config by disabling the prompt with prompt_prefix = "".