oh-my-bash icon indicating copy to clipboard operation
oh-my-bash copied to clipboard

cd command not working while changing directory to git repo

Open pinakin-jpg opened this issue 1 year ago • 2 comments

Hi,

I have recently installed oh-my-bash. I am not able to change the directory to the git repo. Please note that, I am using my company given laptop and it may have certain restrictions.

pinakin-jpg avatar Jun 24 '24 09:06 pinakin-jpg

On Windows WSL, if I cd into a git repo directory the bash terminal hangs.

However, this only happens if the repo directory was git cloned from Windows. If I dos2unix all the files in the .git directory then it does not hang. Therefore most likely oh-my-bash is tripping up on Windows line endings.

devodo avatar Aug 04 '24 10:08 devodo

I'd recommend checking which plugins you have enabled. If there are plugins enabled that don't have their related dependencies, it can slow down the system.

RobLoach avatar Aug 27 '24 16:08 RobLoach