Config and setup files

add ghostty init file

Changed files
+17
+17
.ghostty-init.sh
···
+
#!/bin/zsh
+
SESSION_NAME="default"
+
+
# Check if the session already exists
+
tmux has-session -t $SESSION_NAME 2>/dev/null
+
+
if [ $? -eq 0 ]; then
+
# If the session exists, reattach to it
+
tmux attach-session -t $SESSION_NAME
+
else
+
# If the session doesn't exist, start a new one
+
tmux new-session -s $SESSION_NAME -d
+
tmux attach-session -t $SESSION_NAME
+
fi
+
+
$SHELL
+