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

Override trap and other builtins if specified #18

Open
hyperupcall opened this issue Nov 18, 2023 · 1 comment
Open

Override trap and other builtins if specified #18

hyperupcall opened this issue Nov 18, 2023 · 1 comment

Comments

@hyperupcall
Copy link
Member

hyperupcall commented Nov 18, 2023

Override trap and other builtins so no need to remember core functions (on flag or environment variable)

@hyperupcall hyperupcall changed the title Override trap and other builtins so no need to remember core functions (on flag or environment variable) Override trap and other builtins if specified Nov 18, 2023
@hyperupcall
Copy link
Member Author

hyperupcall commented Nov 18, 2023

  • Make sure $? and exit_code is compatible and consistent with builtins
  • core.trap_add checks for function existence right away, trap does not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant