mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-28 07:21:21 +08:00
28 lines
655 B
Go
28 lines
655 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"
|
|
NO_COLOR = "NO_COLOR"
|
|
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"
|
|
)
|