Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZSH packaging helper instructions don't work #576

Open
EbonJaeger opened this issue Oct 22, 2024 · 1 comment · May be fixed by #593
Open

ZSH packaging helper instructions don't work #576

EbonJaeger opened this issue Oct 22, 2024 · 1 comment · May be fixed by #593
Assignees
Labels

Comments

@EbonJaeger
Copy link
Member

Following the instructions here to install the Solus packaging helper functions does not result in the functions being usable.

I don't know the correct way to do it, not being familiar with ZSH. @Staudey has the following in his .zshrc file:

# This works
#for file in $HOME/.zshrc.d/*.zsh; do
#    . "$file"
#done

# This doesn't, why?
fpath=(~/.zshrc.d $fpath)
# Unless I add this and execute "solus-monorepo-helpers.zsh" first, which is weird
autoload -Uz solus-monorepo-helpers.zsh
solus-monorepo-helpers.zsh
# This also doesn't help:
# autoload -Uz ${fpath[1]}/*(:t)
@TraceyC77
Copy link
Contributor

I found the instructions for bash didn't work either. Fixing both.

@TraceyC77 TraceyC77 self-assigned this Dec 27, 2024
TraceyC77 pushed a commit that referenced this issue Dec 28, 2024
Fix instructions for zsh and bash so helper functions work
Add note that people with custom zsh configs need to adapt instructions
Add example of what zshrc should contain

Fixes #576
@TraceyC77 TraceyC77 linked a pull request Dec 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

2 participants