FR: Allow using environment variables (`${SHPOOL_SESSION_NAME}`) in `default_dir` config option
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Read HACKING.md first and trace how the default_dir configuration is parsed and used when creating a session. Verify the behavior with the provided USER and SHPOOL_SESSION_NAME examples; done means newly created sessions start in the expanded directory while existing behavior remains intact.
Written by the indexing model from the issue text.
Description
AI Policy Ack
Please read the AI policy in HACKING.md and ack that you've done so here.
Ack.
What new feature do you want?
I want to be able to use environment variables inside the default_dir setting, e.g.
default_dir = "/home/${USER}/scripts"
The main use case is to use the $SHPOOL_SESSION_NAME variable.
Why this is useful?
On my remote machine, I have a few different repositories that live under a common root (Think /home/$USER/coding/$repo). Using the local shell function approach, I can use work $repo to shpool into a re-usable session for that project. However, if that session does not exist, it currently starts at ~. I want to be able to set
default_dir = "/home/${USER}/coding/${SHPOOL_SESSION_NAME}"
in my settings so that newly-created sessions already start in the right directory.
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 70
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shell-pool/shpool
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
shell-pool/shpool#463 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
shell-pool/shpool#442 · 1 comment ·
Maintainers usually reply within 1 day
-
misc LLM reportsOpen
Difficulty 5/5 Over a week Newbie friendliness 5/100
shell-pool/shpool#454 ·
Maintainers usually reply within 1 day
-
vterm
Difficulty 4/5 3-5 days Newbie friendliness 30/100
shell-pool/shpool#445 · 1 comment ·
Maintainers usually reply within 1 day
-
publish .deb filesOpen
Difficulty 4/5 3-5 days Newbie friendliness 55/100
shell-pool/shpool#429 ·
Maintainers usually reply within 1 day
All issues in shell-pool/shpool
Similar issues
-
Ignore entry for RUSTSEC-2026-0002 no longer matches anything (`lru` is no longer in `Cargo.lock`)Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
influxdata/influxdb#27767 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
oras-project/rust-oci-client-node#132 ·
Maintainers usually reply within 2 days
-
Ignore entry for RUSTSEC-2020-0168 no longer matches anything (`mach` is no longer in `Cargo.lock`)Possibly taken @zyl71 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Blockstream/lwk#213 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
libracoder/kiri#749 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manuscript-lang/manuscript#6389 ·
Maintainers usually reply within 1 day