Skip to content

Referencings aliases within the definition of other aliases #11

@heades

Description

@heades

Use case:

Suppose I have the following aliase:

alias code-ex-proj = "code ~/example-project/ex-proj.code-workspace"

but, often I want to go into the project directory for whatever reason. Right now, we would have to add a bookmark:

bookmark ex-proj      = "~/example-project/ex-proj.code-workspace"
alias    code-ex-proj = "code ~/example-project/ex-proj.code-workspace"

It would be cleaner, if we could instead reference ex-proj in the target for code-ex-proj. Something like:

bookmark ex-proj      = "~/example-project/ex-proj.code-workspace"
alias    code-ex-proj = "code ${ex-proj}"

This would be super nice!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions