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

Facing issue with simple bash alias: '_zsh_highlight_main__type:13: job table full or recursion limit exceeded' #943

Open
Anatoli-deBRADKE opened this issue Feb 8, 2024 · 4 comments

Comments

@Anatoli-deBRADKE
Copy link

Hello,

I have defined the following alias in my ~/.zshrc
alias kubectl="kubectl --context \${KUBE_CONTEXT:-\$(command kubectl config current-context)}"

and after executing the following command line:

$ aws-vault exec aws-legacy-production

the following error message appears as soon as I have finish to write kubectl in my prompt
image

Do you have any idea of the origin of this issue?

Thanks in advance!

@danielshahaf
Copy link
Member

danielshahaf commented Feb 11, 2024 via email

@Anatoli-deBRADKE
Copy link
Author

Hello @danielshahaf and thanks for your answer!

I'm sorry but i'm not sure to understand the proposed workaround, can you give me a little bit more details please?
Thanks in advance!

I'm using the following version of packages:
zsh 5.9 (arm-apple-darwin23.0.0)
zsh-syntax-highlighting 0.8.0

@danielshahaf
Copy link
Member

danielshahaf commented Feb 13, 2024 via email

@Anatoli-deBRADKE
Copy link
Author

No worries! Many thanks for the workaround, which works perfectly.

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