我下载并安装了 linux bash 配置文件,它彻底改变了我的终端。如何切换回之前的配置文件?

I downloaded and installed linux bash profile and it completely changed my terminal. How do I switch back to the profile I had before?

我正在上网 class,作为说明的一部分,我在我的 linux 命令行中下载并安装了 bash 配置文件:

curl https://raw.githubusercontent.com/flatiron-school/dotfiles/master/.bash_profile -o ~/.bash_profile
source ~/.bash_profile
xcode-select --install

现在找不到我以前用过的命令和包了。

我也在学习其他工具,需要恢复一下。 "undo" 有什么办法改变?

接下来,我可以创建一个虚拟环境并在该虚拟环境中为此 class 安装 bash 配置文件吗?

我通过重命名我的主目录中的原始 bash 配置文件备份文件之一来恢复,然后重新运行 它:

source ~/.bash_profile

它正在运行。