Hilbish/vars.go

21 lines
480 B
Go
Raw Normal View History

package main
// String vars that are free to be changed at compile time
var (
2021-06-15 23:33:51 +00:00
version = "v0.5.1"
defaultConfDir = "" // ~ will be substituted for home, path for user's default config
defaultHistDir = ""
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
)