summaryrefslogtreecommitdiff
path: root/forgeConfig.config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-11 02:32:00 -0500
committerJeff Carr <[email protected]>2025-09-11 02:32:00 -0500
commitb231a2144d6efb29583dfc177c3a07d0be01e642 (patch)
treedbf8fab5335c33975c4611c9c36fa43f47bbcb19 /forgeConfig.config.go
parent98467dec72f0a894b7a2fef319d73d3320d94d0f (diff)
trim Init() code
Diffstat (limited to 'forgeConfig.config.go')
-rw-r--r--forgeConfig.config.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/forgeConfig.config.go b/forgeConfig.config.go
index 6102d03..f62ac35 100644
--- a/forgeConfig.config.go
+++ b/forgeConfig.config.go
@@ -23,3 +23,20 @@ func (cfg *ForgeConfigs) ConfigSave() error {
func (c *ForgeConfigs) ConfigLoad(fullpath string) error {
return nil
}
+
+/*
+ if f.Config.Username == "" {
+ usr, _ := user.Current()
+ f.Config.Username = usr.Username
+ f.SetConfigSave(true)
+ }
+
+ if f.Config.Xterm == "" {
+ f.Config.Xterm = "xterm"
+ f.Config.XtermArgv = append(f.Config.XtermArgv, "-bg")
+ f.Config.XtermArgv = append(f.Config.XtermArgv, "black")
+ f.Config.XtermArgv = append(f.Config.XtermArgv, "-fg")
+ f.Config.XtermArgv = append(f.Config.XtermArgv, "white")
+ f.SetConfigSave(true)
+ }
+*/