7 lines
132 B
Bash
Executable File
7 lines
132 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "New window created with name $1"
|
|
tmux new-window -n $1
|
|
window=$1
|
|
tmux send-keys -t "$window" C-z "cd ./$1" Enter
|