Pimp my Shell
GitHub
  • Pimp My Shell
  • Features
  • Requirements
  • Installation
    • Uninstall PMS
  • Environment Variables
  • Upgrade PMS
  • PMS Manager
  • Plugins
    • cd
    • composer
    • git
    • phpbrew
    • vim
  • Themes
    • default
Powered by GitBook
On this page
Edit on GitHub

Environment Variables

PreviousUninstall PMSNextUpgrade PMS

Last updated 7 months ago

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:

  1. $HOME/.env

  2. $HOME/.env.{SHELL}

  3. $HOME/.env.local

  4. $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 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

plugins