Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近尝试了几个 dotfile repos,但我现在总是可以撤消终端机器人中的更改!我不知道如何将我的终端重置为出厂默认设置。
我尝试了谷歌提供给我的大部分东西。
基本上我希望我的终端处于出厂默认设置。
mkdir ~/.zsh_backup mv ~/.z* ~/.zsh_backup
遇到了同样的问题。这应该将所有 zsh 配置移动到备份目录。如果您使用 zsh,那么当您这样做时,可能会有带有 *backup 后缀的文件:
ls ~/.zsh_backup/.*backup
如果是,那么只需恢复备份。