fix: simplify tmux session creation in paseo.json

This commit is contained in:
Mohamed Boudra
2026-02-18 11:06:22 +07:00
parent 64b36d0df7
commit 62e3b214ff
+1 -1
View File
@@ -8,7 +8,7 @@
"terminals": [
{
"name": "dev",
"command": "SESSION_NAME=\"${PWD##*/}\"; if ! tmux has-session -t \"$SESSION_NAME\" 2>/dev/null; then tmux new-session -d -s \"$SESSION_NAME\" -c \"$PWD\"; tmux send-keys -t \"$SESSION_NAME\":0.0 \"npm run dev\" Enter; fi"
"command": "SESSION_NAME=\"${PWD##*/}\"; if ! tmux has-session -t \"$SESSION_NAME\" 2>/dev/null; then tmux new-session -d -s \"$SESSION_NAME\" -c \"$PWD\" \"npm run dev\"; fi"
}
]
}