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

Installation instructions don't seem to work #3

Open
andrewferrier opened this issue Feb 2, 2023 · 1 comment
Open

Installation instructions don't seem to work #3

andrewferrier opened this issue Feb 2, 2023 · 1 comment

Comments

@andrewferrier
Copy link

andrewferrier commented Feb 2, 2023

I've tried following various versions of the installation instructions; they don't seem to work.

Recreation (this isn't the standard installation method but to illustrate the problem):

  • git clone https://github.com/psprint/zsh-sweep <some_temporary_dir>
  • cd <some_temporary_dir>
  • source zsh-sweep.plugin.zsh
  • zsweep <some_zsh_file>

Gives:

  • zsh: command not found: zsweep

This is with zsh 5.8.1 (x86_64-apple-darwin21.0)

Am I using it right?

@andrewferrier andrewferrier changed the title Installation instructions don't seem to work, there are no usage instructions Installation instructions don't seem to work Feb 2, 2023
@psprint
Copy link
Owner

psprint commented Feb 2, 2023

You need a line in zshrc:

zs_set_path=1
source {the zsh-sweep.plugin.zsh path}

It's about the zs_set_path variable, it has to be set to make zsh-sweep add its bin/ dir to $PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants