@@ -95,7 +95,7 @@ func Load(workingDir, dataDir string, debug bool) (*Config, error) {
97func PushPopCrushEnv() func() {
97func PushPopCrushEnv() func() {
98− found := []string{}
98+ var found []string
99 for _, ev := range os.Environ() {
99 for _, ev := range os.Environ() {
100 if strings.HasPrefix(ev, "CRUSH_") {
100 if strings.HasPrefix(ev, "CRUSH_") {
101 pair := strings.SplitN(ev, "=", 2)
101 pair := strings.SplitN(ev, "=", 2)
@@ -342,12 +342,6 @@ func (c *Config) setDefaults(workingDir, dataDir string) {
342 if c.Options.TUI == nil {
342 if c.Options.TUI == nil {
343 c.Options.TUI = &TUIOptions{}
343 c.Options.TUI = &TUIOptions{}
345− if c.Options.ContextPaths == nil {
346− c.Options.ContextPaths = []string{}
348− if c.Options.SkillsPaths == nil {
349− c.Options.SkillsPaths = []string{}
351 if dataDir != "" {
345 if dataDir != "" {
352 c.Options.DataDirectory = dataDir
346 c.Options.DataDirectory = dataDir
353 } else if c.Options.DataDirectory == "" {
347 } else if c.Options.DataDirectory == "" {