ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.54k stars 626 forks source link

Problems immediately after installation #469

Closed mmadrono closed 10 months ago

mmadrono commented 10 months ago

the error is as follows:

source .bashrc : command not found bash: .bashrc: line 6: syntax error near unexpected token $'in\r'' 'ash: .bashrc: line 6:case $- in

image

akinomyoga commented 10 months ago

duplicate of #253

Git for Windows has an issue in its default setting of the newline treatment. You should change the setting as follows:

$ git config --global core.autocrlf false

or

$ git config --global core.autocrlf input

After that, you need to reinstall OMB.

mmadrono commented 10 months ago

thank you very much, it worked