Skip to content

Configuration file execution not implemented #2

@tapvt

Description

@tapvt

Problem

The loadConfigFile() function in internal/shell/shell.go:267-271 is currently just a stub implementation that returns nil without actually executing configuration files.

Impact

  • Configuration files (.goshrc, .gosh_profile) are not actually executed
  • Users cannot customize their shell environment through config files
  • This breaks a core documented feature of the shell

Current Implementation

The function is a stub that just returns nil with a comment saying implementation will be added later.

Expected Behavior

The function should:

  1. Read the specified configuration file
  2. Parse and execute shell commands from the file
  3. Apply aliases, exports, and other configurations
  4. Handle errors appropriately

Files Affected

  • internal/shell/shell.go (lines 267-271)
  • Configuration loading logic needs to be implemented

Priority

Critical - This is a core shell functionality that users expect to work.

Reference

See TODO.md item #1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfigurationIssues related to configuration systemcriticalCritical issues that must be fixed immediately

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions