Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GitBash on windows: syntax error #260

Closed
tuxerrante opened this issue Nov 25, 2021 · 2 comments
Closed

GitBash on windows: syntax error #260

tuxerrante opened this issue Nov 25, 2021 · 2 comments
Labels
duplicate Duplicate issues external

Comments

@tuxerrante
Copy link

Hi
I'm getting this error
image

PS1="\n${icon_start}$(virtualenv_prompt)${icon_user}${bold_red}\u${normal}${icon_host}${bold_cyan}\h${normal}${icon_directory}${bold_purple}\W${normal}\$([[ -n \$(git branch 2> /dev/null) ]] && echo \" on ${icon_branch} \")${white}$(scm_prompt_info)${normal}\n${icon_end}"

tuxerrante added a commit to tuxerrante/oh-my-bash that referenced this issue Nov 25, 2021
ohmybash#260
It may need further improvement since backtick is going to be deprecated, but this solves the issue
@akinomyoga
Copy link
Contributor

This seems to be a duplicate of #211.

@akinomyoga
Copy link
Contributor

See #211 (comment). This is a problem with Git Bash (Git for Windows). Please update your Git Bash:

$ git update-git-for-windows

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate Duplicate issues external
Projects
None yet
Development

No branches or pull requests

2 participants