core/consts.nim
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import os const version* = "1.0.0-dev" when defined(windows): const HOME* = getenv("USERPROFILE") when not defined(windows): const HOME* = getenv("HOME") const MINIMRC* = HOME / ".minimrc" const MINIMSYMBOLS* = HOME / ".minim_symbols" const MINIMHISTORY* = HOME / ".minim_history" |