mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
2d09e1a500
Tests will be added in a followup commit before this branch is merged. This addresses #383.
27 lines
631 B
Go
27 lines
631 B
Go
// Package env keeps names of environment variables with special significance to
|
|
// Elvish.
|
|
package env
|
|
|
|
// Environment variables with special significance to Elvish.
|
|
const (
|
|
HOME = "HOME"
|
|
LS_COLORS = "LS_COLORS"
|
|
PATH = "PATH"
|
|
PWD = "PWD"
|
|
SHLVL = "SHLVL"
|
|
USERNAME = "USERNAME"
|
|
|
|
// Only used on Unix
|
|
XDG_CONFIG_HOME = "XDG_CONFIG_HOME"
|
|
XDG_DATA_DIRS = "XDG_DATA_DIRS"
|
|
XDG_DATA_HOME = "XDG_DATA_HOME"
|
|
XDG_RUNTIME_DIR = "XDG_RUNTIME_DIR"
|
|
XDG_STATE_HOME = "XDG_STATE_HOME"
|
|
|
|
// Only used on Windows
|
|
PATHEXT = "PATHEXT"
|
|
|
|
// Only used in tests
|
|
ELVISH_TEST_TIME_SCALE = "ELVISH_TEST_TIME_SCALE"
|
|
)
|