diff options
author | rien333 <rien334@gmail.com> | 2021-02-26 12:56:13 +0100 |
---|---|---|
committer | rien333 <rien334@gmail.com> | 2021-02-26 13:05:14 +0100 |
commit | 05b0fd7c3287620afd2c0cad95408b3472c7902a (patch) | |
tree | eac7a375d0206313976919f5dfda0223fb00e1fc /misc | |
parent | 4cc61c51826b2d1916afc175e4306ef152cbed47 (diff) | |
download | qutebrowser-05b0fd7c3287620afd2c0cad95408b3472c7902a.tar.gz qutebrowser-05b0fd7c3287620afd2c0cad95408b3472c7902a.zip |
[readability-js] Improve install instructions
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/userscripts/readability-js | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/misc/userscripts/readability-js b/misc/userscripts/readability-js index 5f5c85a78..03dbf65f8 100755 --- a/misc/userscripts/readability-js +++ b/misc/userscripts/readability-js @@ -7,11 +7,17 @@ // // # Prerequisites // -// - Setting NODE_PATH might be required to point qutebrowser to your global node libraries: -// export NODE_PATH=$NODE_PATH:$(npm root -g) -// - Mozilla's readability library (npm install -g @mozilla/readability) -// - jsdom (npm install -g jsdom) -// - qutejs (npm install -g qutejs) +// - Mozilla's readability library (npm install -g @mozilla/readability) +// - jsdom (npm install -g jsdom) +// - qutejs (npm install -g qutejs) +// +// - Ensure that node knows where to find your globally installed modules by adding +// the following to ~/.profile or /etc/profile: +// +// export NODE_PATH=$NODE_PATH:$(npm root -g) +// +// *Note*: On some Linux distros and macOS, it may be easier to set +// NODE_PATH to 'npm root -g' using qutebrowser's qt.environ setting. // // # Usage // |