bugfix: correct helper setup docs for bash and zsh#593
Conversation
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
EbonJaeger
left a comment
There was a problem hiding this comment.
The ZSH instructions still do not work. To get it to work before, I had an extra line in my .zshrc, I think given to me by @Staudey:
source "$HOME/.zshrc.d/solus-monorepo-helpers.zsh"It went after autoload -U $HOME/.zshrc.d/*. Whether or not that is the correct way to do things, I have no idea.
|
Yeah, I have two workarounds for this noted in my Either Or But as expected with the new instructions a simple added to . |
|
Thanks for the feedback. After some reading, it is indeed necessary to source the helper script in I also changed the setup command a bit to make it easier to read. |
EbonJaeger
left a comment
There was a problem hiding this comment.
LGTM, thanks! It may be a few hours before I can deploy this, so if anyone else wants to before then, feel free.
|
Yoink |
Description
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
Testing
Verified solus helper commands can be run in a new shell session for both bash and zsh
For zsh, also created a test file in
~/.zshrc.dand verified it was able to be run without specifying the path