mirror of
https://github.com/webdev23/shelix.git
synced 2024-09-11 12:15:28 +03:00
13 lines
201 B
Bash
Executable File
13 lines
201 B
Bash
Executable File
#!/bin/bash
|
|
|
|
all=($(tmux list-panes -t 0 -F '#P'))
|
|
|
|
notify "$(echo $SHELIXSESSIONDIR)"
|
|
|
|
|
|
for index in "${!all[@]}"; do
|
|
# echo $index
|
|
tmux send-keys -t ":.$index" "cd $SHELIXSESSIONDIR" Enter
|
|
done
|
|
|