Hilbish/vars.go

23 lines
525 B
Go
Raw Permalink Normal View History

package main
// String vars that are free to be changed at compile time
var (
2022-03-23 02:11:46 +00:00
version = "v1.2.0"
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
2022-03-06 21:20:41 +00:00
initialized bool
)