2
2
ミラー元 https://github.com/Hilbis/Hilbish 前回の同期 2025-07-11 05:22:02 +00:00
Hilbish/vars.go
2022-03-06 21:48:24 -04:00

23 行
525 B
Go

package main
// String vars that are free to be changed at compile time
var (
version = "v1.0.2"
defaultConfDir = "" // ~ will be substituted for home, path for user's default config
defaultHistDir = ""
commonRequirePaths = "';./libs/?/init.lua;./?/init.lua;./?/?.lua'"
prompt string
multilinePrompt = "> "
)
// Flags
var (
running bool // Is a command currently running
interactive bool
login bool // Are we the login shell?
noexecute bool // Should we run Lua or only report syntax errors
initialized bool
)