diff options
author | Rijnder Wever <rien334@gmail.com> | 2021-02-26 23:52:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 23:52:25 +0100 |
commit | 9d5c7b5ed82bfa2d2b0be0910487522abfe4381f (patch) | |
tree | e3fcbb3b4b2b235213fa555920e00ed7e56f4dbd /misc | |
parent | 05b0fd7c3287620afd2c0cad95408b3472c7902a (diff) | |
download | qutebrowser-9d5c7b5ed82bfa2d2b0be0910487522abfe4381f.tar.gz qutebrowser-9d5c7b5ed82bfa2d2b0be0910487522abfe4381f.zip |
Make clear how to set qt.environ
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/userscripts/readability-js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/userscripts/readability-js b/misc/userscripts/readability-js index 03dbf65f8..2f24e065d 100755 --- a/misc/userscripts/readability-js +++ b/misc/userscripts/readability-js @@ -16,8 +16,10 @@ // // 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. +// *Note*: On some Linux distros and macOS, it may be easier to set NODE_PATH using qutebrowser's +// qt.environ setting. For instance, if 'npm root -g' returns /usr/lib/node_modules, then run: +// +// :set qt.environ '{"NODE_PATH": "/usr/lib/node_modules"}' // // # Usage // |