更新时间:2022-03-23 22:38:56
由于缺少"fi"行,我遇到了相同的错误.确保忽略语法错误. 原始的.bashrc位于/etc/skel/中.因此,只需运行以下命令:
I had the same error due to missing "fi" line. Make sure to omit syntax errors. The original .bashrc is located in /etc/skel/. So just run the following command:
cp/etc/skel/.bashrc〜
cp /etc/skel/.bashrc ~