Open andrewferrier opened 1 year ago
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?
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.
zs_set_path
bin/
$PATH
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?