mirror of https://github.com/liamg/aminal.git
Merge pull request #79 from laverya/fix-misspell
fix typos identified by 'misspell' tool
This commit is contained in:
commit
24a7c629e1
|
@ -16,7 +16,7 @@ func getConfig() *config.Config {
|
||||||
flag.BoolVar(&showVersion, "version", showVersion, "Output version information")
|
flag.BoolVar(&showVersion, "version", showVersion, "Output version information")
|
||||||
|
|
||||||
ignore := false
|
ignore := false
|
||||||
flag.BoolVar(&ignore, "ignore-config", ignore, "Ignore user config files and use defauls")
|
flag.BoolVar(&ignore, "ignore-config", ignore, "Ignore user config files and use defaults")
|
||||||
if ignore {
|
if ignore {
|
||||||
return &config.DefaultConfig
|
return &config.DefaultConfig
|
||||||
}
|
}
|
||||||
|
|
2
main.go
2
main.go
|
@ -40,7 +40,7 @@ func main() {
|
||||||
shellStr = conf.Shell
|
shellStr = conf.Shell
|
||||||
}
|
}
|
||||||
|
|
||||||
os.Setenv("TERM", "xterm-256color") // contraversial! easier than installing terminfo everywhere, but obviously going to be slightly different to xterm functionality, so we'll see...
|
os.Setenv("TERM", "xterm-256color") // controversial! easier than installing terminfo everywhere, but obviously going to be slightly different to xterm functionality, so we'll see...
|
||||||
os.Setenv("COLORTERM", "truecolor")
|
os.Setenv("COLORTERM", "truecolor")
|
||||||
|
|
||||||
shell := exec.Command(shellStr)
|
shell := exec.Command(shellStr)
|
||||||
|
|
Loading…
Reference in New Issue