• Documentation
  • Modules
  • Space on GitHub
github.com/space-sh/space
  • The Space Tool
  • 1. Introduction to Space
  • 2. Why Space
    • Benefits and advantages of using Space
  • 3. How Space works
  • 4. Installing and running your first Space command
    • Installing from latest tarball
    • Installing current version from source control repository
    • Installing latest stable version from Space.sh site
    • Customizing installation parameters
    • Verifying installation
    • Running your first Space command
  • 5. Space Modules
    • Why Space modules
    • What are Space modules
    • Running a Space module
    • How Space modules work
    • Writing your own Space module
    • Space variables
    • Spacefile YAML reference
    • Modules versioning
    • Modules best practices
    • Modules advanced topics
  • 6. Advanced Space.sh configuration
  • 7. Shell coding and style guidelines
  • 8. Glossary
  • 9. References
  • 10. Getting help
  • 11. Contributing
  • 12. Troubleshooting

Advanced Space.sh configuration

Environment variables and possible settings

SPACE_LOG_ENABLE_COLORS

Enables colored message output.
Default: 1
Set this from cmdline, using the -e flag or from the YAML.

SPACE_LOG_LEVEL

Set level of logging in interval [0,5] for the final script.
Default: 4
Set this from cmdline, using the -e flag or from the YAML.

SPACE_MODULES_SHARED

The directory for shared resources i.e. modules.
Default: ~/.space/space_modules
Can only be set from the cmd line when invoking Space.

Previous: Space Modules

Next: Shell coding and style guidelines

Edit this page

Space.sh is delivered to you by Blockie.org.

Contact: welcome@blockie.org