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

Add a way to specify a command that runs directly before funk definition #139

Open
bbugyi200 opened this issue Dec 1, 2018 · 0 comments
Labels
Type: Feature New feature or request.

Comments

@bbugyi200
Copy link
Owner

bbugyi200 commented Dec 1, 2018

For example, assume the user inputs the following as the definition for a funk slc--meant to alias some_long_command:

# precmd: compdef {{funk}}=some_long_command
some_long_command

Then the resulting final funk definition should be

...
compdef slc=some_long_command
slc() {
    some_long_command "$@"
}

where ... represents the possibility of built-in (automatic) funk pre-commands---one of which would currently be unalias {{funk}} &> /dev/null.

@bbugyi200 bbugyi200 changed the title Add a way to specify a command that runs prior to defining funk Add a way to specify a command that runs directly before funk definition Dec 1, 2018
@bbugyi200 bbugyi200 added the Type: Feature New feature or request. label Jul 20, 2019
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

1 participant