2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-05 18:42:04 +00:00
Hilbish/vars.go
2021-11-22 22:54:20 -05:00

22 lines
548 B
Go

package main
// String vars that are free to be changed at compile time
var (
version = "v0.7.1"
defaultConfDir = "" // ~ will be substituted for home, path for user's default config
defaultHistDir = ""
commonRequirePaths = "';./libs/?/init.lua;./?/init.lua;./?/?.lua'"
prompt string // Prompt will always get changed anyway
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
)