Add comprehensive project shortcuts system

- Create config/projects.nix for project definitions with templates
- Add scripts/templates/ with basic, content, and research workflows
- Create universal project-launcher.sh for template execution
- Integrate project system into zsh with dynamic alias generation
- Generate projects.json config file for shell script consumption
- Update README.md with project shortcuts documentation

Projects supported:
- blog: Personal blog (content workflow)
- mdshortcut: Research project (research workflow)
- nix-config: Nix configuration (basic workflow)

Usage: proj, blog, mdshortcut, nix-config commands

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-26 22:38:23 +02:00
parent 539ba9fef7
commit af7b855faf
7 changed files with 260 additions and 3 deletions

26
config/projects.nix Normal file
View file

@ -0,0 +1,26 @@
{
projects = {
blog = {
template = "content";
name = "blog";
codePath = "/Users/yanlin/Documents/Projects/personal-blog";
contentPath = "/Users/yanlin/Documents/Projects/personal-blog/content";
description = "Personal blog project";
};
mdshortcut = {
template = "research";
name = "MDShortcut";
codePath = "/Users/yanlin/Documents/Projects/Material Design Shortcut/MDShortcut-dev";
paperPath = "/Users/yanlin/Documents/Projects/Material Design Shortcut/MDShortcut-paper";
description = "Material Design Shortcut research project";
};
nix-config = {
template = "basic";
name = "nix";
codePath = "/Users/yanlin/.config/nix";
description = "Nix configuration";
};
};
}