Skip to content

Hook execution in current shell #28

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

Closed
pardom opened this issue Jun 6, 2024 · 2 comments
Closed

Hook execution in current shell #28

pardom opened this issue Jun 6, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@pardom
Copy link

pardom commented Jun 6, 2024

I'm trying to take advantage of the BASE16_SHELL_ENABLE_VARS exports in tinted-theming/tinted-shell. I can set the BASE16_COLOR_##_HEX exports correctly if I source the script from my current shell like so:

source "$(tinty config --data-dir-path)/base16-shell-scripts-file.sh"

However, when I apply a scheme via tinty apply these exports are not set. I assume this is because hooks are executed via shell command instead of executing in the current shell. Is there a workaround for this that will allow the hook to run in the current shell?

What version of tinty are you using?
0.14.0

@pardom pardom added the question Further information is requested label Jun 6, 2024
@JamyGolden
Copy link
Member

@pardom
Copy link
Author

pardom commented Jun 9, 2024

Thanks!

@pardom pardom closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants