Make clear how to set qt.environ

This commit is contained in:
Rijnder Wever 2021-02-26 23:52:25 +01:00 committed by GitHub
parent 05b0fd7c32
commit 9d5c7b5ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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
//