From dc4ac74cc829c451d4f25b3d61452da62601ee0c Mon Sep 17 00:00:00 2001 From: Fernando Emilio Diaz Lopez Date: Mon, 1 Jun 2026 13:23:01 -0600 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=93=9D=20Update=20AGENTS.md=20for=20c?= =?UTF-8?q?larity=20and=20structure=20improvements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index b618fc3..78a3988 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,15 +1,18 @@ -# LinuxWizards +# AGENTS.md -- Run the `*Wizard.sh` entrypoints from the repo root. They `source ./src/...` with relative paths, so launching them from a subdirectory breaks. -- The top-level scripts are thin wrappers; put shared logic in `src/common.sh` and area-specific logic in `src//*.sh`. -- These entrypoints are not standalone downloads. They depend on the checked-out `src/` tree. -- `src/templates/` is the source for files `repoWizard.sh` copies into new repos. Edit templates, not generated repos, when changing scaffold content. -- `src/repo/agents.sh` and `src/repo/mdtomdc.sh` generate agent-support folders/symlinks. Keep them in sync with any `.agents/rules` changes. -- `aliasWizard.sh` only supports bash/zsh. It copies `src/scripts/.aliases` to `~/.aliases`, appends source blocks to `~/.bashrc` or `~/.zshrc`, and installs helper scripts from `src/scripts/` into `~/bin`. -- If you add or rename helpers under `src/scripts/`, update `aliasWizard.sh` so the installed set stays in sync. -- `gitWizard.sh` creates an `ed25519` SSH key, starts `ssh-agent`, and writes global Git config, including SSH signing when `~/.ssh/id_ed25519.pub` exists. -- `softwareWizard.sh`, `debianWizard.sh`, and `z.sh` are privileged, networked installers. They modify apt state and user config such as `~/.ssh`, `~/.dircolors`, `~/.config/ghostty/config`, `~/.bashrc`, and `~/.zshrc`. -- `debianWizard.sh` re-execs itself with `sudo` when needed and is intended for Debian 13. -- `z.sh` expects MesloLGS Nerd Font for Powerlevel10k. -- `repoWizard.sh` initializes a new repo from the templates, makes an initial `🎉 Project created!` commit, and switches the new repo to `dev`. -- There is no package manager, formatter, or test runner configured here; for shell edits use `bash -n ` and a disposable run of the affected wizard. +## Repo Shape +- Root `*.sh` files are the entrypoints: `softwareWizard.sh`, `gitWizard.sh`, `aliasWizard.sh`, `repoWizard.sh`, `debianWizard.sh`, and `z.sh`. +- Shared code lives in `src/common.sh` and the `src//` folders; scripts source files with repo-relative paths like `./src/common.sh`, so run them from the repository root. +- `repoWizard.sh` is the repo scaffolder. It copies templates from `src/templates/` and can create `.agents/`, `.cursor/`, `.opencode/`, `.claude/`, `.agent/`, and `.github/` support trees depending on the chosen agent target. + +## Commands +- Run a wizard directly from the repo root, for example `./softwareWizard.sh` or `./repoWizard.sh`. +- `repoWizard.sh` makes an initial `git commit -m "🎉 Project created!"` and switches to a new `dev` branch. +- `aliasWizard.sh` writes `~/.aliases`, appends shell source blocks to `~/.bashrc` or `~/.zshrc`, and installs helper scripts into `~/bin`. +- `gitWizard.sh`, `softwareWizard.sh`, `debianWizard.sh`, and `z.sh` make system changes and may require `sudo`. + +## Repo Conventions +- `src/common.sh` is shared utility code and should not be executed directly. +- `NO_COLOR` disables colored output in shared helpers. +- The repo is Bash-only; there is no package manager or test runner to discover here. +- `src/templates/README.md` is a scaffold template, not the project README. From c44554849f8a7bc7ba2a922f8c7ccd07e22acfa5 Mon Sep 17 00:00:00 2001 From: Fernando Emilio Diaz Lopez Date: Mon, 1 Jun 2026 13:25:04 -0600 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=94=A5=20Removed=20useless=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 1 - src/alias/welcome.sh | 13 ------------- src/deb/welcome.sh | 17 ----------------- src/git/welcome.sh | 13 ------------- src/repo/welcome.sh | 13 ------------- src/scripts/search | 15 --------------- src/software/welcome.sh | 13 ------------- src/zsh/welcome.sh | 15 --------------- 8 files changed, 100 deletions(-) delete mode 120000 CLAUDE.md delete mode 100644 src/alias/welcome.sh delete mode 100644 src/deb/welcome.sh delete mode 100644 src/git/welcome.sh delete mode 100644 src/repo/welcome.sh delete mode 100644 src/scripts/search delete mode 100644 src/software/welcome.sh delete mode 100644 src/zsh/welcome.sh diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 120000 index 47dc3e3..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1 +0,0 @@ -AGENTS.md \ No newline at end of file diff --git a/src/alias/welcome.sh b/src/alias/welcome.sh deleted file mode 100644 index b994ad8..0000000 --- a/src/alias/welcome.sh +++ /dev/null @@ -1,13 +0,0 @@ -welcome() { - printf "${YELLOW} ${RESET}\n"; - printf "${YELLOW} █████╗ ██╗ ██╗ █████╗ ███████╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; - printf "${YELLOW}██╔══██╗██║ ██║██╔══██╗██╔════╝ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; - printf "${YELLOW}███████║██║ ██║███████║███████╗ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; - printf "${YELLOW}██╔══██║██║ ██║██╔══██║╚════██║ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; - printf "${YELLOW}██║ ██║███████╗██║██║ ██║███████║ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; - printf "${YELLOW}╚═╝ ╚═╝╚══════╝╚═╝╚═╝ ╚═╝╚══════╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; - printf "${YELLOW} ${RESET}\n"; - sleep 5 - - return 0 -} \ No newline at end of file diff --git a/src/deb/welcome.sh b/src/deb/welcome.sh deleted file mode 100644 index 9c8e8ba..0000000 --- a/src/deb/welcome.sh +++ /dev/null @@ -1,17 +0,0 @@ -welcome() { - printf "${BLUE} ${RESET}\n"; - printf "${BLUE}██████╗ ███████╗██████╗ ██╗ █████╗ ███╗ ██╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; - printf "${BLUE}██╔══██╗██╔════╝██╔══██╗██║██╔══██╗████╗ ██║ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; - printf "${BLUE}██║ ██║█████╗ ██████╔╝██║███████║██╔██╗ ██║ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; - printf "${BLUE}██║ ██║██╔══╝ ██╔══██╗██║██╔══██║██║╚██╗██║ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; - printf "${BLUE}██████╔╝███████╗██████╔╝██║██║ ██║██║ ╚████║ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; - printf "${BLUE}╚═════╝ ╚══════╝╚═════╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; - printf "${BLUE} ${RESET}\n"; - - printf '%s\n' "This script will perform basic fixes and configurations that must be executed strictly in the terminal" - print_warning "These configurations are recommended for Debian 13" - - sleep 5 - - return 0 -} \ No newline at end of file diff --git a/src/git/welcome.sh b/src/git/welcome.sh deleted file mode 100644 index 4e3a1d1..0000000 --- a/src/git/welcome.sh +++ /dev/null @@ -1,13 +0,0 @@ -welcome() { - printf "${ORANGE} ${RESET}\n"; - printf "${ORANGE} ██████╗ ██╗████████╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; - printf "${ORANGE}██╔════╝ ██║╚══██╔══╝ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; - printf "${ORANGE}██║ ███╗██║ ██║ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; - printf "${ORANGE}██║ ██║██║ ██║ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; - printf "${ORANGE}╚██████╔╝██║ ██║ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; - printf "${ORANGE} ╚═════╝ ╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; - printf "${ORANGE} ${RESET}\n"; - sleep 5 - - return 0 -} \ No newline at end of file diff --git a/src/repo/welcome.sh b/src/repo/welcome.sh deleted file mode 100644 index 3e6722c..0000000 --- a/src/repo/welcome.sh +++ /dev/null @@ -1,13 +0,0 @@ -welcome() { - printf "${BLUE} ${RESET}\n"; - printf "${BLUE}██████╗ ███████╗██████╗ ██████╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; - printf "${BLUE}██╔══██╗██╔════╝██╔══██╗██╔═══██╗ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; - printf "${BLUE}██████╔╝█████╗ ██████╔╝██║ ██║ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; - printf "${BLUE}██╔══██╗██╔══╝ ██╔═══╝ ██║ ██║ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; - printf "${BLUE}██║ ██║███████╗██║ ╚██████╔╝ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; - printf "${BLUE}╚═╝ ╚═╝╚══════╝╚═╝ ╚═════╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; - printf "${BLUE} ${RESET}\n"; - sleep 5 - - return 0 -} \ No newline at end of file diff --git a/src/scripts/search b/src/scripts/search deleted file mode 100644 index b1f063a..0000000 --- a/src/scripts/search +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -set -e - -read -erp "Command to search?: " msg - -if [[ -z "$msg" ]]; then - printf '%s\n' "Search cancelled, empty message" - exit 1 -fi - -case "$SHELL" in - */zsh) grep -aF -- "$msg" "${HISTFILE:-$HOME/.zsh_history}" | sed 's/^: [0-9]*:[0-9]*;//' ;; - *) grep -F -- "$msg" "${HISTFILE:-$HOME/.bash_history}" ;; -esac diff --git a/src/software/welcome.sh b/src/software/welcome.sh deleted file mode 100644 index a017623..0000000 --- a/src/software/welcome.sh +++ /dev/null @@ -1,13 +0,0 @@ -welcome() { - printf "${BLUE} ${RESET}\n"; - printf "${BLUE}███████╗ ██████╗ ███████╗████████╗██╗ ██╗ █████╗ ██████╗ ███████╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; - printf "${BLUE}██╔════╝██╔═══██╗██╔════╝╚══██╔══╝██║ ██║██╔══██╗██╔══██╗██╔════╝ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; - printf "${BLUE}███████╗██║ ██║█████╗ ██║ ██║ █╗ ██║███████║██████╔╝█████╗ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; - printf "${BLUE}╚════██║██║ ██║██╔══╝ ██║ ██║███╗██║██╔══██║██╔══██╗██╔══╝ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; - printf "${BLUE}███████║╚██████╔╝██║ ██║ ╚███╔███╔╝██║ ██║██║ ██║███████╗ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; - printf "${BLUE}╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; - printf "${BLUE} ${RESET}\n"; - sleep 5 - - return 0 -} \ No newline at end of file diff --git a/src/zsh/welcome.sh b/src/zsh/welcome.sh deleted file mode 100644 index f0a9920..0000000 --- a/src/zsh/welcome.sh +++ /dev/null @@ -1,15 +0,0 @@ -welcome() { - printf '%s\n' " "; - printf ' %s%s%s%s%s%s%s__ \n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET - printf ' %s%s ____ ___ %s__ __ %s ____ %s_____%s/ /_ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET - printf ' %s%s / __ `__ \%s/ / / / %s /_ / %s/ ___/%s __ \ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET - printf ' %s%s / / / / / /%s /_/ / %s / /_%s(__ )%s / / / %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET - printf '%s%s /_/ /_/ /_/%s\__, / %s /___/%s____/%s_/ /_/ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET - printf ' %s%s%s%s%s%s /____/%s %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET - printf '%s\n' " "; - printf '%s\n' "Make sure you have MesloLGS NF Regular Nerd Font installed and set as your terminal font" - printf '%s\n' "And you're running in your desired terminal" - sleep 5 - - return 0 -} \ No newline at end of file From 14291e66d98d9a3ffadb45ab4fea34b7eae305c1 Mon Sep 17 00:00:00 2001 From: Fernando Emilio Diaz Lopez Date: Mon, 1 Jun 2026 13:26:23 -0600 Subject: [PATCH 3/5] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Simplified=20welcome?= =?UTF-8?q?=20scripts=20routes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aliasWizard.sh | 2 +- debianWizard.sh | 2 +- gitWizard.sh | 2 +- repoWizard.sh | 2 +- softwareWizard.sh | 2 +- src/welcome/welcome_alias.sh | 13 +++++++++++++ src/welcome/welcome_deb.sh | 17 +++++++++++++++++ src/welcome/welcome_git.sh | 13 +++++++++++++ src/welcome/welcome_repo.sh | 13 +++++++++++++ src/welcome/welcome_software.sh | 13 +++++++++++++ src/welcome/welcome_zsh.sh | 15 +++++++++++++++ z.sh | 20 ++------------------ 12 files changed, 91 insertions(+), 23 deletions(-) create mode 100644 src/welcome/welcome_alias.sh create mode 100644 src/welcome/welcome_deb.sh create mode 100644 src/welcome/welcome_git.sh create mode 100644 src/welcome/welcome_repo.sh create mode 100644 src/welcome/welcome_software.sh create mode 100644 src/welcome/welcome_zsh.sh diff --git a/aliasWizard.sh b/aliasWizard.sh index ff7f81f..50d7d14 100755 --- a/aliasWizard.sh +++ b/aliasWizard.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash source ./src/common.sh -source ./src/alias/welcome.sh +source ./src/welcome/welcome_alias.sh ALIAS_SOURCE_BLOCK='if [[ -f ~/.aliases ]]; then . ~/.aliases diff --git a/debianWizard.sh b/debianWizard.sh index 4b11216..a4a7e36 100755 --- a/debianWizard.sh +++ b/debianWizard.sh @@ -12,7 +12,7 @@ root_test(){ fi } -source ./src/deb/welcome.sh +source ./src/welcome/welcome_deb.sh set_timezone(){ dots "Setting timezone to America/Mexico_City" diff --git a/gitWizard.sh b/gitWizard.sh index b7175e6..7e8d587 100755 --- a/gitWizard.sh +++ b/gitWizard.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash source ./src/common.sh -source ./src/git/welcome.sh +source ./src/welcome/welcome_git.sh # Global variables git_username="" diff --git a/repoWizard.sh b/repoWizard.sh index eda4e87..422ccdb 100755 --- a/repoWizard.sh +++ b/repoWizard.sh @@ -3,7 +3,7 @@ WIZARD_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" source ./src/common.sh -source ./src/repo/welcome.sh +source ./src/welcome/welcome_repo.sh source ./src/repo/devcontainer.sh source ./src/repo/agents.sh diff --git a/softwareWizard.sh b/softwareWizard.sh index c8f6a49..f2ee05e 100755 --- a/softwareWizard.sh +++ b/softwareWizard.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash source ./src/common.sh -source ./src/software/welcome.sh +source ./src/welcome/welcome_software.sh install_packages() { dots "Installing essential APT packages" diff --git a/src/welcome/welcome_alias.sh b/src/welcome/welcome_alias.sh new file mode 100644 index 0000000..b994ad8 --- /dev/null +++ b/src/welcome/welcome_alias.sh @@ -0,0 +1,13 @@ +welcome() { + printf "${YELLOW} ${RESET}\n"; + printf "${YELLOW} █████╗ ██╗ ██╗ █████╗ ███████╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; + printf "${YELLOW}██╔══██╗██║ ██║██╔══██╗██╔════╝ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; + printf "${YELLOW}███████║██║ ██║███████║███████╗ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; + printf "${YELLOW}██╔══██║██║ ██║██╔══██║╚════██║ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; + printf "${YELLOW}██║ ██║███████╗██║██║ ██║███████║ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; + printf "${YELLOW}╚═╝ ╚═╝╚══════╝╚═╝╚═╝ ╚═╝╚══════╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; + printf "${YELLOW} ${RESET}\n"; + sleep 5 + + return 0 +} \ No newline at end of file diff --git a/src/welcome/welcome_deb.sh b/src/welcome/welcome_deb.sh new file mode 100644 index 0000000..9c8e8ba --- /dev/null +++ b/src/welcome/welcome_deb.sh @@ -0,0 +1,17 @@ +welcome() { + printf "${BLUE} ${RESET}\n"; + printf "${BLUE}██████╗ ███████╗██████╗ ██╗ █████╗ ███╗ ██╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; + printf "${BLUE}██╔══██╗██╔════╝██╔══██╗██║██╔══██╗████╗ ██║ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; + printf "${BLUE}██║ ██║█████╗ ██████╔╝██║███████║██╔██╗ ██║ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; + printf "${BLUE}██║ ██║██╔══╝ ██╔══██╗██║██╔══██║██║╚██╗██║ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; + printf "${BLUE}██████╔╝███████╗██████╔╝██║██║ ██║██║ ╚████║ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; + printf "${BLUE}╚═════╝ ╚══════╝╚═════╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; + printf "${BLUE} ${RESET}\n"; + + printf '%s\n' "This script will perform basic fixes and configurations that must be executed strictly in the terminal" + print_warning "These configurations are recommended for Debian 13" + + sleep 5 + + return 0 +} \ No newline at end of file diff --git a/src/welcome/welcome_git.sh b/src/welcome/welcome_git.sh new file mode 100644 index 0000000..4e3a1d1 --- /dev/null +++ b/src/welcome/welcome_git.sh @@ -0,0 +1,13 @@ +welcome() { + printf "${ORANGE} ${RESET}\n"; + printf "${ORANGE} ██████╗ ██╗████████╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; + printf "${ORANGE}██╔════╝ ██║╚══██╔══╝ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; + printf "${ORANGE}██║ ███╗██║ ██║ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; + printf "${ORANGE}██║ ██║██║ ██║ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; + printf "${ORANGE}╚██████╔╝██║ ██║ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; + printf "${ORANGE} ╚═════╝ ╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; + printf "${ORANGE} ${RESET}\n"; + sleep 5 + + return 0 +} \ No newline at end of file diff --git a/src/welcome/welcome_repo.sh b/src/welcome/welcome_repo.sh new file mode 100644 index 0000000..3e6722c --- /dev/null +++ b/src/welcome/welcome_repo.sh @@ -0,0 +1,13 @@ +welcome() { + printf "${BLUE} ${RESET}\n"; + printf "${BLUE}██████╗ ███████╗██████╗ ██████╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; + printf "${BLUE}██╔══██╗██╔════╝██╔══██╗██╔═══██╗ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; + printf "${BLUE}██████╔╝█████╗ ██████╔╝██║ ██║ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; + printf "${BLUE}██╔══██╗██╔══╝ ██╔═══╝ ██║ ██║ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; + printf "${BLUE}██║ ██║███████╗██║ ╚██████╔╝ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; + printf "${BLUE}╚═╝ ╚═╝╚══════╝╚═╝ ╚═════╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; + printf "${BLUE} ${RESET}\n"; + sleep 5 + + return 0 +} \ No newline at end of file diff --git a/src/welcome/welcome_software.sh b/src/welcome/welcome_software.sh new file mode 100644 index 0000000..a017623 --- /dev/null +++ b/src/welcome/welcome_software.sh @@ -0,0 +1,13 @@ +welcome() { + printf "${BLUE} ${RESET}\n"; + printf "${BLUE}███████╗ ██████╗ ███████╗████████╗██╗ ██╗ █████╗ ██████╗ ███████╗ ██╗ ██╗██╗███████╗ █████╗ ██████╗ ██████╗ ${RESET}\n"; + printf "${BLUE}██╔════╝██╔═══██╗██╔════╝╚══██╔══╝██║ ██║██╔══██╗██╔══██╗██╔════╝ ██║ ██║██║╚══███╔╝██╔══██╗██╔══██╗██╔══██╗${RESET}\n"; + printf "${BLUE}███████╗██║ ██║█████╗ ██║ ██║ █╗ ██║███████║██████╔╝█████╗ ██║ █╗ ██║██║ ███╔╝ ███████║██████╔╝██║ ██║${RESET}\n"; + printf "${BLUE}╚════██║██║ ██║██╔══╝ ██║ ██║███╗██║██╔══██║██╔══██╗██╔══╝ ██║███╗██║██║ ███╔╝ ██╔══██║██╔══██╗██║ ██║${RESET}\n"; + printf "${BLUE}███████║╚██████╔╝██║ ██║ ╚███╔███╔╝██║ ██║██║ ██║███████╗ ╚███╔███╔╝██║███████╗██║ ██║██║ ██║██████╔╝${RESET}\n"; + printf "${BLUE}╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══╝╚══╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ${RESET}\n"; + printf "${BLUE} ${RESET}\n"; + sleep 5 + + return 0 +} \ No newline at end of file diff --git a/src/welcome/welcome_zsh.sh b/src/welcome/welcome_zsh.sh new file mode 100644 index 0000000..f0a9920 --- /dev/null +++ b/src/welcome/welcome_zsh.sh @@ -0,0 +1,15 @@ +welcome() { + printf '%s\n' " "; + printf ' %s%s%s%s%s%s%s__ \n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET + printf ' %s%s ____ ___ %s__ __ %s ____ %s_____%s/ /_ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET + printf ' %s%s / __ `__ \%s/ / / / %s /_ / %s/ ___/%s __ \ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET + printf ' %s%s / / / / / /%s /_/ / %s / /_%s(__ )%s / / / %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET + printf '%s%s /_/ /_/ /_/%s\__, / %s /___/%s____/%s_/ /_/ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET + printf ' %s%s%s%s%s%s /____/%s %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_YELLOW $RB_GREEN $RB_VIOLET $RB_RESET + printf '%s\n' " "; + printf '%s\n' "Make sure you have MesloLGS NF Regular Nerd Font installed and set as your terminal font" + printf '%s\n' "And you're running in your desired terminal" + sleep 5 + + return 0 +} \ No newline at end of file diff --git a/z.sh b/z.sh index 135a799..c03c853 100755 --- a/z.sh +++ b/z.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash source ./src/common.sh -source ./src/zsh/welcome.sh +source ./src/welcome/welcome_zsh.sh ghostty_configs() { if command_exists ghostty; then dots "Adding ghostty configs" - printf '%s\n' "theme = Homebrew" >> ~/.config/ghostty/config + printf '%s\n' "theme = Vercel" >> ~/.config/ghostty/config printf '%s\n' "bell-features = no-title,no-attention" >> ~/.config/ghostty/config printf '%s\n' "shell-integration-features = ssh-env" >> ~/.config/ghostty/config return 0 @@ -17,20 +17,6 @@ ghostty_configs() { fi } -set_colors() { - dots "Setting custom dircolors" - - cat > ~/.dircolors <<'EOF' - # Directories (More contrast than blue) - DIR 01;36 - # Symlinks and executables (optional) - LINK 01;35 - EXEC 01;32 -EOF - -return 0 -} - install_zsh() { dots "Installing zsh shell" sudo apt-get install -y zsh @@ -78,8 +64,6 @@ finish_setup() { main() { welcome ghostty_configs - set_colors - update_system install_zsh setup_zsh_theme activate_zsh From 2a21d8e258c1af1d7f45d5a796f782dd3b0d358a Mon Sep 17 00:00:00 2001 From: Fernando Emilio Diaz Lopez Date: Mon, 1 Jun 2026 13:26:33 -0600 Subject: [PATCH 4/5] =?UTF-8?q?=E2=9C=A8=20Updated=20.aliases=20with=20new?= =?UTF-8?q?=20Docker=20commands=20and=20improved=20existing=20aliases=20fo?= =?UTF-8?q?r=20better=20usability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/.aliases | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/scripts/.aliases b/src/scripts/.aliases index d5c010e..1d31d54 100644 --- a/src/scripts/.aliases +++ b/src/scripts/.aliases @@ -51,10 +51,10 @@ alias untar='tar -xf' # Docker shortcuts alias dc='docker' alias dcu='docker compose up -d' +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 dcrmi='docker rmi' alias dockerclean='docker system prune -a --volumes' @@ -92,14 +92,15 @@ alias gitunstage='git reset HEAD --' alias gitrepair='sudo chown -R "$(whoami)":"$(id -gn)" .git' alias gitlocal='git config --local commit.gpgsign false' alias cleanremote='git fetch origin --prune' -alias deleteremote ='git push origin --delete' +alias deleteremote='git push origin --delete' # AI Agents alias cld='claude' alias ocd='opencode' # Miscellaneous -alias h='history' alias rootrc='code .bashrc --no-sandbox --user-data-dir' alias rootzrc='code .zshrc --no-sandbox --user-data-dir' -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 From 9635882d60aa5c7f8cdf2fd36c7e524af656bfad Mon Sep 17 00:00:00 2001 From: Fernando Emilio Diaz Lopez Date: Mon, 1 Jun 2026 13:26:45 -0600 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=93=9D=20README.md=20updated=20and=20?= =?UTF-8?q?documentation=20enhanced?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/templates/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/README.md b/src/templates/README.md index 8c9f1a1..420f4d2 100644 --- a/src/templates/README.md +++ b/src/templates/README.md @@ -1 +1 @@ -# New Project \ No newline at end of file +# New Project