Simplify the logic of project lanucher

This commit is contained in:
Yan Lin 2025-08-25 12:40:55 +08:00
parent 0c72fedeb8
commit f58a088c43
4 changed files with 10 additions and 28 deletions

View file

@ -44,15 +44,7 @@ in
# Project shortcuts
proj = "${projectLauncher}";
} // (
# Generate project aliases dynamically
builtins.listToAttrs (
builtins.map (projectName: {
name = projectName;
value = "${projectLauncher} ${projectName}";
}) (builtins.attrNames projectsConfig.projects)
)
);
};
initContent = ''
# Load Powerlevel10k theme