Simplify the logic of project lanucher
This commit is contained in:
parent
0c72fedeb8
commit
f58a088c43
4 changed files with 10 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue