手残不小心 rm -rf 了 Homebrew 的 etc 文件夹,想看看这个文件夹里有啥
資深大佬 : chengluyu 1
今天用 brew 装东西的时候本来想 ls /opt/homebrew/etc,不知道为啥就打成了 rm -rf /opt/homebrew/etc。
大佬有話說 (9)
今天用 brew 装东西的时候本来想 ls /opt/homebrew/etc,不知道为啥就打成了 rm -rf /opt/homebrew/etc。
bash_completion.d [email protected] unbound
gnutls pkcs11
上 Formulae 搜了一下,发现很多包都会往 etc 放东西,所以我干脆执行了一遍 history | cut -c 8- | grep “^brew install ” | sed “s/install/reinstall/” 把装过的东西重新装一遍,估计就能解决问题了。