This script automates the process of starting a new Wezterm project. It allows you to select a project from a predefined list or specify a project name as an argument.
Run the script without any arguments to select a project from the list of available projects. Alternatively, you can provide a project name as an argument to start that specific project.
./wzp [project_name]
./wzp
./wzp my_project
PROJECTS_DIR
to ~/.config/wezterm/projects
..lua
files in the PROJECTS_DIR
and allows the user to select one using fzf
..lua
file exists in the PROJECTS_DIR
.WZ_PROJECT
environment variable and starts Wezterm with the selected project.fd
and fzf
are installed on your system (brew install fd fzf
on macOS)..lua
files in the PROJECTS_DIR
to list and start projects.