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

Only source theme.sh in interactive fish sessions #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

plcplc
Copy link

@plcplc plcplc commented Oct 21, 2023

I had the same issue as
https://www.reddit.com/r/neovim/comments/xr65ea/awk_error_when_calling_terminal_commands/, which is caused by theme.sh trying to apply the theme when vim is executing shell commands.

This commit amends the suggested default theme.sh loading logic for the fish shell to only apply when the shell is interactive. This seems like a generally sensible thing for a terminal theme manager regardless.

I had the same issue as
https://www.reddit.com/r/neovim/comments/xr65ea/awk_error_when_calling_terminal_commands/,
which is caused by theme.sh trying to apply the theme when vim is
executing shell commands.

This commit amends the suggested default theme.sh loading logic for the
fish shell to only apply when the shell is interactive. This seems like
a generally sensible thing for a terminal theme manager regardless.
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

Successfully merging this pull request may close these issues.

None yet

1 participant