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

zsh-autosuggestions using same color #175

Open
slavd-ganz opened this issue Oct 25, 2024 · 1 comment
Open

zsh-autosuggestions using same color #175

slavd-ganz opened this issue Oct 25, 2024 · 1 comment

Comments

@slavd-ganz
Copy link

I am running netshoot in k8s, from VS Code terminal.
The problem is that the zsh-autosuggestions is using the same color as the command text.
I cannot tell if the "suggestion" is actually written in the terminal or not

@FongX777
Copy link

FongX777 commented Feb 8, 2025

Just a workaround I use, you can do export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#505050" after ssh, or run the whole command like this:

 kubectl run tmp-shell --rm -it --image=nicolaka/netshoot --command -- sh -c 'export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#505050"; exec zsh'

In this way, the suggestion text changes to light grey.

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

2 participants