init
This commit is contained in:
31
start-kochmesser
Executable file
31
start-kochmesser
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
PROJEKT="/home/arbeit/arbeit/kochmesser24.de"
|
||||
TICKET_NR="$1"
|
||||
|
||||
TAB_TICKET=""
|
||||
if [ -n "$TICKET_NR" ]; then
|
||||
TAB_TICKET="gnome-terminal --tab --working-directory='$PROJEKT' -- bash -c 'claude \"Verschaff dir kurz Projekt-Überblick (ddev, shopware 6.6). Lies dann /tmp/redmine-$TICKET_NR/data.json (enthält Redmine Issue + Briefing-Wiki) sowie ggf. Bilder unter /tmp/redmine-$TICKET_NR/. Liste die für das Ticket nötigen Features als knappe Bullet-Liste auf - vollständig, nichts weglassen, aber auch nicht aufgebläht. Simpel und kurz.\"; exec bash'"
|
||||
fi
|
||||
|
||||
TICKET_TAB=""
|
||||
[ -n "$TICKET_NR" ] && TICKET_TAB="--new-tab https://servicecenter.mitho-media.de/issues/$TICKET_NR"
|
||||
|
||||
flatpak run org.mozilla.firefox \
|
||||
--new-tab "https://mail.google.com/mail" \
|
||||
--new-tab "https://docs.google.com/spreadsheets/d/1lCSVgTgKq7Q0df2RKtcBb7m5tVub41-fkA2GTL1dTpw/edit" \
|
||||
--new-tab "https://kochmesser24.ddev.site/" \
|
||||
--new-tab "https://kochmesser24.ddev.site/admin" \
|
||||
--new-tab "https://kochmesser24.ddev.site:8026/" \
|
||||
--new-tab "https://kochmesser24.ddev.site:9101" \
|
||||
$TICKET_TAB &
|
||||
|
||||
code "$PROJEKT" &
|
||||
|
||||
gnome-terminal --full-screen -- bash -c "$(cat <<EOF
|
||||
gnome-terminal --tab --working-directory='$PROJEKT' -- bash -c 'git fetch --all; git adog; exec bash'
|
||||
$TAB_TICKET
|
||||
gnome-terminal --tab --working-directory='$PROJEKT' -- bash -c 'claude "Verschaff dir eine Übersicht, ddev, shopware 6.6"; exec bash'
|
||||
gnome-terminal --tab --working-directory='$PROJEKT' -- bash -c 'ddev start; exec bash'
|
||||
EOF
|
||||
)"
|
||||
|
||||
Reference in New Issue
Block a user