Skip to content

Dev#8

Merged
don-linux merged 5 commits into
mainfrom
dev
Jun 1, 2026
Merged

Dev#8
don-linux merged 5 commits into
mainfrom
dev

Conversation

@don-linux

Copy link
Copy Markdown
Owner

This pull request refactors the structure and conventions of the wizard scripts, streamlining the welcome message sourcing, updating documentation, and improving command aliases. The main themes are improved maintainability, more consistent code organization, and enhanced user experience for the provided shell utilities.

Refactoring and code organization:

  • All wizard scripts now source their welcome messages from src/welcome/ instead of area-specific subfolders, centralizing welcome logic for easier maintenance (aliasWizard.sh, debianWizard.sh, gitWizard.sh, repoWizard.sh, softwareWizard.sh, z.sh). [1] [2] [3] [4] [5] [6]
  • The z.sh script changes the default Ghostty terminal theme from "Homebrew" to "Vercel" and removes the custom set_colors function and its invocation, simplifying setup steps. [1] [2] [3]

Documentation improvements:

  • The AGENTS.md file is rewritten for clarity, with clearer sections on repo structure, commands, and conventions.
  • The obsolete reference to AGENTS.md is removed from CLAUDE.md.

Alias and helper command updates:

  • Docker aliases in .aliases are improved for usability: dcps now shows all containers, dcrm force-removes containers, and a new dcd alias is added for docker compose down.
  • The h alias for history is moved for better grouping, and a new search shell function is added to quickly search the last 10 matching history entries.
  • The standalone src/scripts/search helper script is removed in favor of the new shell function, reducing duplication.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the wizard scripts to source their welcome banners from a centralized src/welcome/ directory, rewrites AGENTS.md for clarity, and updates Docker/history-related shell aliases. z.sh also drops the custom set_colors step and the update_system call from main, and switches the default Ghostty theme to "Vercel".

Changes:

  • Centralize per-wizard welcome banners under src/welcome/welcome_*.sh and update all wizard entrypoints to source from the new path.
  • Tweak Docker aliases (dcps, dcrm, new dcd), regroup the h alias, and replace the standalone src/scripts/search helper with a search shell function in .aliases.
  • Simplify z.sh (remove set_colors and update_system, switch Ghostty theme to "Vercel") and rewrite AGENTS.md.

Reviewed changes

Copilot reviewed 10 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
z.sh Sources new welcome path, switches Ghostty theme to Vercel, removes set_colors and update_system from main.
softwareWizard.sh, repoWizard.sh, gitWizard.sh, debianWizard.sh, aliasWizard.sh Update welcome source path to src/welcome/welcome_*.sh.
src/welcome/welcome_alias.sh, welcome_deb.sh, welcome_git.sh, welcome_repo.sh, welcome_software.sh, welcome_zsh.sh New centralized welcome banner scripts.
src/scripts/.aliases Adds dcd, broadens dcps, force-removes via dcrm, fixes deleteremote typo, moves h, adds search function.
src/scripts/search Removed in favor of the new search shell function.
src/templates/README.md No content change (newline normalization only).
AGENTS.md Rewritten with Repo Shape / Commands / Conventions sections.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/scripts/.aliases
Comment on lines +54 to +57
alias dcd='docker compose down'
alias dci='docker images'
alias dcps='docker ps'
alias dcpsa='docker ps -a'
alias dcrm='docker rm'
alias dcps='docker ps -a'
alias dcrm='docker rm -f'
Comment thread src/scripts/.aliases
alias rootaliases='code .aliases --no-sandbox --user-data-dir' No newline at end of file
alias rootaliases='code .aliases --no-sandbox --user-data-dir'
alias h='history'
search() { history | grep "$1" | tail -n 10; } No newline at end of file
@don-linux don-linux merged commit cfc7951 into main Jun 1, 2026
1 check passed
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