Environment Variables
Last updated
Last updated
PMS will search for and load a few different .env files to help you configure how PMS works.
.env files, if they exist, are loaded in the following order:
$HOME/.env
$HOME/.env.{SHELL}
$HOME/.env.local
$HOME/.env.{SHELL}.local
{SHELL} will be zsh, bash, fish, etc. depending on the shell you are using.
PMS Loads .env files in this order to allow you different configuration options. These files are where you will overwrite environment variables defined by plugins to modify behavior.
Environment Variable | Description |
---|---|
PMS
Directory where PMS is installed
PMS_LOCAL
Directory where local files are stored
PMS_DEBUG
0 = disabled, 1 = enabled. Enabling debug will produce debug messages
PMS_REPO
PMS_REMOTE
PMS_BRANCH
PMS_THEME
PMS_PLUGINS