psprint / zsh-sweep

Linter for Zshell scripting language
MIT License
121 stars 3 forks source link

Installation instructions don't seem to work #3

Open andrewferrier opened 1 year ago

andrewferrier commented 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):

Gives:

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

Am I using it right?

psprint commented 1 year ago

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.