Quick setup for running projects with tmux. Opens a repository from your configured directory with Docker running in the background, a file watcher, and Neovim ready to go.
- Window 0 is meant for all terminal processes, like file watcher etc. When you detach, everything stops (Ctrl+C sent to all panes).
- When you reattach, commands restart automatically. If you had
npm run devrunning, it starts again. - Docker runs in a separate background session called devilbox.
- Tab completion works for selecting projects from your repo directory.
- Window 9 runs Claude Code.
-
Link the script so you can run it from anywhere:
sudo ln -s <your/path/to/work> /usr/local/bin/work
-
Add this line to your
.bashrc:source </path/to/this/config-repository-dir>.bash_completion.sh
-
Reload your shell:
source ~/.bashrc
Add custom scripts for specific projects when you need extra setup or want to open multiple repos at once.
Put your scripts here:
custom_settings/<project-name>/<script-name>Example for a project called snake_game:
custom_settings/snake_game/my-scriptRun it with custom script:
work snake_game my-scriptOr without:
work snake_gameTab completion works for both project names and script names.
Make scripts executable if needed:
sudo chmod +x <script-name>