-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
funced the whole .fish file contents, not only function body #391
Comments
This is a good idea, but is nontrivial to implement because the |
This should be easy to do after issue #3295 is implemented. |
As discussed in issue #3701 we should do two things:
To be determined is whether we can, or should, attempt to protect the user from doing |
Many functions ship in files with helper functions, and it is useful to edit those too. Closes fish-shell#391.
Many functions ship in files with helper functions, and it is useful to edit those too. Closes fish-shell#391.
Many functions ship in files with helper functions, and it is useful to edit those too. Closes fish-shell#391.
Many functions ship in files with helper functions, and it is useful to edit those too. Closes fish-shell#391.
Sometime the .fish file contains not only the function definition, but some variable definitions. Sometimes the function definition depends on a system, so there is if/function/else/function construction.
When funced is invoked it let you edit only the function name, options and body. After applying funcsave all the other information is lost.
It would be very helpful if function could contain the whole contents of the .fish file instead. So when you type funced, you can also modify the preceeding variables, conditions and comments.
The text was updated successfully, but these errors were encountered: