当前位置:网站首页>解决安装 Bun 之后出现 zsh compinit: insecure directories, run compaudit for list. Ignore insecure directorie
解决安装 Bun 之后出现 zsh compinit: insecure directories, run compaudit for list. Ignore insecure directorie
2022-07-31 05:56:00 【Pandy : )】
在 还在用 Node.js 吗?试试 Bun.js 文章中,看到了一个更快、更强的 JavaScript 运行时的出现,在安装 Bun 之后,出现了下面这个问题:
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]?
在 Bun 仓库看到了一样的 issue #222,@UltimatePro-Grammer 提到解决方案,就是在把 ~/.zshrc 中 # bun completions 后一行给注释掉:

issue 中还有提到一个无效的解决方案,运行 compaudit 后发现是下面这两个不安全文件,

再给这两个文件授权
sudo chmod g-w /opt/homebrew/share/zsh/site-functions
sudo chmod g-w /opt/homebrew/share/zsh
这个方案试了之后无效,我艾特了 UltimatePro-Grammer ,后续继续跟进。

边栏推荐
猜你喜欢

postgresql源码学习(34)—— 事务日志⑩ - 全页写机制

Analysis of pseudo-classes and pseudo-elements

英语翻译软件-批量自动免费翻译软件支持三方接口翻译

浅析瀑布流布局原理及实现方式

Obtaining server and client information

搭建zabbix监控及邮件报警(超详细教学)

【TA-霜狼_may-《百人计划》】美术2.3 硬表面基础

Explain the example + detail the difference between @Resource and @Autowired annotations (the most complete in the entire network)

(border-box)盒子模型w3c、IE的区别

数据库原理作业2 — JMU
随机推荐
In-depth analysis of z-index
Markdown中的数学符号
03-SDRAM:写操作(突发)
试题 历届真题 错误票据【第四届】【省赛】【B组】
项目练习——备忘录(增删改查)
文件 - 07 删除文件: 根据fileIds批量删除文件及文件信息
浅析伪类和伪元素
DDL+DML+DQL
毫米波技术基础
【Star项目】小帽飞机大战(七)
gstreamer's caps event and new_segment event
js原型详解
从入门到一位合格的爬虫师,这几点很重要
R——避免使用 col=0
芯塔电子斩获第十一届中国双创大赛芜湖赛区桂冠
cp 的用法
第十六章:构建n(5,7)阶素数幻方
MySQL系列一:账号管理与引擎
(border-box)盒子模型w3c、IE的区别
TypeScript进阶