From c6c27ba389b05fd8ff2f8713b6ccdc0b2e873379 Mon Sep 17 00:00:00 2001 From: Dylan Jennings Date: Mon, 30 Mar 2026 15:46:06 +0100 Subject: [PATCH 1/6] Updated install path --- dot_zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot_zshrc b/dot_zshrc index 7f124fa..c7da754 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -1,7 +1,7 @@ # ═══════════════════════════════════════ # Globals # ═══════════════════════════════════════ -export DEV_DIR="$HOME/Development/DJX" +export DEV_DIR="$HOME/PDEV/DJX" export ZSH="$HOME/.oh-my-zsh" # ═══════════════════════════════════════ @@ -62,4 +62,4 @@ source "$ZSH/oh-my-zsh.sh" # Syntax highlighting (should load AFTER Oh My Zsh) if [[ -f /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -fi \ No newline at end of file +fi From 678ff69efc528abe3a892179c90474507f108bca Mon Sep 17 00:00:00 2001 From: Dylan Jennings Date: Mon, 30 Mar 2026 16:13:54 +0100 Subject: [PATCH 2/6] Added no verify for quick push --- scripts/git-quick-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/git-quick-commit.sh b/scripts/git-quick-commit.sh index ca93d64..529133c 100755 --- a/scripts/git-quick-commit.sh +++ b/scripts/git-quick-commit.sh @@ -14,4 +14,4 @@ else fi git add . -git commit -m "$branch $message" +git commit -m "$branch $message" --no-verify From 45a1908c29538e6ff6848e43221155ba2bf7629a Mon Sep 17 00:00:00 2001 From: Dylan Jennings Date: Mon, 30 Mar 2026 16:15:59 +0100 Subject: [PATCH 3/6] Added wren spec alias --- dot_zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dot_zshrc b/dot_zshrc index c7da754..fa2f413 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -38,6 +38,12 @@ alias csfixer='vendor/bin/php-cs-fixer fix --verbose' alias phpstan='vendor/bin/phpstan analyse' alias phpunit='php bin/phpunit' +# Wren Spec +alias frnc="bin/console attach frontend_httpd" +alias frnr="bin/console restart group:frontend" +alias redisc="bin/console attach redis" +alias redisclear="bin/console run -f service:redis" + # ═══════════════════════════════════════ # Theme & Style # ═══════════════════════════════════════ From fb180a19be64e623ef9ca4083bec453719871b7d Mon Sep 17 00:00:00 2001 From: Dylan Jennings Date: Thu, 9 Apr 2026 16:11:17 +0100 Subject: [PATCH 4/6] added quick-start-wren-app.sh script --- .gitignore | 3 ++- dot_zshrc | 1 + scripts/quick-start-wren-app.sh | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 scripts/quick-start-wren-app.sh diff --git a/.gitignore b/.gitignore index ed71c0e..eaee702 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea/ -external/ \ No newline at end of file +external/ +bin/ \ No newline at end of file diff --git a/dot_zshrc b/dot_zshrc index bef96c8..b37c2c4 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -30,6 +30,7 @@ alias doclist='docker ps --format "table {{.Names}}\t{{.Ports}}\t{{.Image}}"' # Custom Tools alias qc='$DEV_DIR/scripts/git-quick-commit.sh' +alias startme='$DEV_DIR/scripts/quick-start-wren-app.sh' # Symfony alias sc='symfony console' diff --git a/scripts/quick-start-wren-app.sh b/scripts/quick-start-wren-app.sh new file mode 100644 index 0000000..ef380f7 --- /dev/null +++ b/scripts/quick-start-wren-app.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +applicationDir="${PWD##*/}" +applicationRunName="${applicationDir//-/_}" + +cd ../devenvironment/ + +bin/console run -f group:"$applicationRunName" + +cd $application \ No newline at end of file From 81466645b30b5c4ae5774463a5dea598a4ddb4e5 Mon Sep 17 00:00:00 2001 From: Dylan Jennings Date: Mon, 20 Apr 2026 11:04:27 +0100 Subject: [PATCH 5/6] Added quick boot for apps script --- scripts/quick-start-wren-app.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/quick-start-wren-app.sh diff --git a/scripts/quick-start-wren-app.sh b/scripts/quick-start-wren-app.sh old mode 100644 new mode 100755 From 6ef382b8e46f8202cedeb2effd137b234d15c76f Mon Sep 17 00:00:00 2001 From: Dylan Jennings Date: Mon, 20 Apr 2026 11:07:17 +0100 Subject: [PATCH 6/6] Added quick commit and push script because qc just isnt fast enough --- dot_zshrc | 1 + scripts/git-quick-commit-and-push.sh | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 scripts/git-quick-commit-and-push.sh diff --git a/dot_zshrc b/dot_zshrc index b37c2c4..f8d51e8 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -30,6 +30,7 @@ alias doclist='docker ps --format "table {{.Names}}\t{{.Ports}}\t{{.Image}}"' # Custom Tools alias qc='$DEV_DIR/scripts/git-quick-commit.sh' +alias qcp='$DEV_DIR/scripts/git-quick-commit-and-push.sh' alias startme='$DEV_DIR/scripts/quick-start-wren-app.sh' # Symfony diff --git a/scripts/git-quick-commit-and-push.sh b/scripts/git-quick-commit-and-push.sh new file mode 100755 index 0000000..bbde3c1 --- /dev/null +++ b/scripts/git-quick-commit-and-push.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +branch=$(git branch --show-current) + +if [ -z "$branch" ]; then + echo "Error: Not in a git repository or no branch checked out" + exit 1 +fi + +if [ -n "$1" ]; then + message="$1" +else + read -p "Enter commit message: " message +fi + +git add . +git commit -m "$branch $message" --no-verify +git push --no-verify \ No newline at end of file