Conversation
…ases for better usability
Contributor
There was a problem hiding this comment.
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_*.shand update all wizard entrypoints to source from the new path. - Tweak Docker aliases (
dcps,dcrm, newdcd), regroup thehalias, and replace the standalonesrc/scripts/searchhelper with asearchshell function in.aliases. - Simplify
z.sh(removeset_colorsandupdate_system, switch Ghostty theme to "Vercel") and rewriteAGENTS.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 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' |
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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]z.shscript changes the default Ghostty terminal theme from "Homebrew" to "Vercel" and removes the customset_colorsfunction and its invocation, simplifying setup steps. [1] [2] [3]Documentation improvements:
AGENTS.mdfile is rewritten for clarity, with clearer sections on repo structure, commands, and conventions.AGENTS.mdis removed fromCLAUDE.md.Alias and helper command updates:
.aliasesare improved for usability:dcpsnow shows all containers,dcrmforce-removes containers, and a newdcdalias is added fordocker compose down.halias forhistoryis moved for better grouping, and a newsearchshell function is added to quickly search the last 10 matching history entries.src/scripts/searchhelper script is removed in favor of the new shell function, reducing duplication.