Skip to content

Instantly share code, notes, and snippets.

@rfay
Created September 3, 2020 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rfay/8773faca379cc22c9c4b5cc61e75f6e6 to your computer and use it in GitHub Desktop.
Save rfay/8773faca379cc22c9c4b5cc61e75f6e6 to your computer and use it in GitHub Desktop.
ddev environment variable custom commands (work as global or project commands)
#!/bin/bash
## Description: show host environment variables like DDEV
## Usage: hostenv
## Example: "ddev hostenv"
set | grep DDEV
#!/bin/bash
## Description: show web container environment variables like DDEV
## Usage: webenv
## Example: "ddev webenv"
set | grep DDEV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment