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

Lambda Theme error #576

Open
tnguyen2601 opened this issue Jun 14, 2024 · 3 comments
Open

Lambda Theme error #576

tnguyen2601 opened this issue Jun 14, 2024 · 3 comments

Comments

@tnguyen2601
Copy link

Upon using any viable command in the terminal, this gets printed in the terminal:

bash: command substitution: line 1: syntax error near unexpected token `)'
bash: command substitution: line 1: `[[ -n $(_omb_prompt_git branch 2> /dev/null) ]] && echo " on (🌿 ")'

I'm not that advanced in the shell language to solve it myself.

@akinomyoga
Copy link
Contributor

Do you use MSYS2 Bash or Bash provided by Git for Windows? There is a known issue msys2/MSYS2-packages#1839 in MSYS2 Bash, and Git for Windows uses MSYS2 Bash.

@tnguyen2601
Copy link
Author

tnguyen2601 commented Jun 14, 2024

I use the second, Bash provided by Git for Windows.

@tnguyen2601
Copy link
Author

After some digging in the linked post and a SO Thread, a fix would be to replace the \n with \012.
https://stackoverflow.com/a/69668675/22786780

Applied and it did fix the issue.

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