Files
Ashley Rosch f7da37ffe3 minor updates
2022-04-01 13:14:15 -05:00

12 lines
275 B
Bash
Executable File

#!/bin/bash
#change to ccurrent directory
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
#start
if [[ $(tmux ls | grep $(npm run getname -s)) ]]; then
echo "Session already exists"
else
tmux new-session -d -s $(npm run getname -s) ./start
echo "Created session"
fi