Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit local FUNK aliases to use paths relative to the .funk file #162

Open
rkr-kununu opened this issue Sep 6, 2019 · 1 comment
Open
Labels
Type: Feature New feature or request.

Comments

@rkr-kununu
Copy link

rkr-kununu commented Sep 6, 2019

Funky to looks very promising, but it doesn't seem to cover my use case:

I'd like to commit the local .funk file into a CMS (ie: git). This would allow me to bundle up a bunch of custom aliases which only work within their respective git-repo.

I'd thought/hoped that the "@./" alias would work, but it appears to be written to disk in an expanded form.

One possible solution would be that funky provides a variable ($FUNK) when it executes aliases which would be the path relative to the .funk file. Then I could create my aliases as "$FUNK/bin/apply.sh $@"

@bbugyi200
Copy link
Owner

bbugyi200 commented Oct 21, 2019

Sorry I took so long to respond. I've been busy with work and a couple of other projects.

I like this idea a lot. I will look into implementing it sometime over the next month. In the meantime, pull requests are welcome :).

@bbugyi200 bbugyi200 added the Type: Feature New feature or request. label Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants