CLI installation wizard bug for zsh
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.3k
- Forks
- 116
- Avg merge
- 12h 34m
- Merged PRs (30d)
- 19
Description
I love the wizard, but realized that it doesn't honor the ZSH environment variable ZDOTDIR. It created a .zshrc in my $HOME and appended:
# >>> juliaup initialize >>>
# !! Contents within this block are managed by juliaup !!
path=('$HOME/.config/juliaup/bin' $path)
export PATH
# <<< juliaup initialize <<<
It didn't use $HOME, I just edited for generality. I would provide a suggested fix, but I am crunched for time. The ZSH convention is to use $ZDOTDIR and defaults to $HOME. I think that should be an easy fix, but always easier said than done.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start at the CLI installation wizard's zsh setup path and trace how it selects the startup file. Check the ZDOTDIR convention described in the issue, then verify that initialization is written there rather than directly under HOME, with HOME remaining the fallback when ZDOTDIR is unset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, zsh
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100