Skip to content

Conversation

@hyperpolymath
Copy link
Owner

No description provided.

claude and others added 3 commits December 27, 2025 14:03
Replace vague documentation with concrete information:
- Add "Deliverable" section defining what Modshells does
- Add "Current Status" summary showing working vs stub features
- Split "Development Status" into "Working Now" vs "Not Yet Implemented"
- Update "Usage" section to distinguish current functionality (v0.0)
  from planned functionality (v0.1+)
- Improve directory structure descriptions
Implement all previously stubbed features:

Shell detection (shell_manager.adb):
- Check /usr/bin, /bin, /usr/local/bin, /opt/homebrew/bin for binaries
- Map each Shell_Type to its binary name (bash, zsh, nu, etc.)
- Return accurate Installed/Not_Installed status

Config file backup (Create_Backup):
- Create timestamped backups before modification
- Format: <file>.modshells-backup-YYYYMMDD-HHMMSS
- Uses Ada.Calendar for timestamp generation

Shell-specific sourcing syntax (Get_Sourcing_Block):
- POSIX shells (Bash, Zsh, Ksh, Dash, Oils): for loop with . sourcing
- Fish: for loop with source command
- Nushell: glob-based sourcing with path join
- Tcsh: foreach with source
- Ion: for loop with source
- PowerShell: Get-ChildItem piped to dot-sourcing

Source injection (Modularise_Config):
- Check if already modularized via MODSHELLS_START signature
- Create config directory if needed (Fish, Nushell, etc.)
- Backup existing config file
- Append sourcing block

Main procedure:
- Display detected shells with status
- Call Modularise_All_Shells for all installed shells
- Version bump to v0.1
@hyperpolymath hyperpolymath merged commit 4855605 into main Dec 27, 2025
8 of 9 checks passed
@hyperpolymath hyperpolymath deleted the claude/update-readme-content-DNJab branch December 27, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants