当前位置:网站首页>解决安装 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 ,后续继续跟进。

边栏推荐
猜你喜欢

【编程题】【Scratch三级】2022.03 冬天下雪了

单点登录 思维导图

03-SDRAM:写操作(突发)

Core Tower Electronics won the championship in the Wuhu Division of the 11th China Innovation and Entrepreneurship Competition

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

科普 | “大姨太”ETH 和 “小姨太”ETC的爱恨情仇

tidyverse笔记——dplyr包

批量翻译软件免费【2022最新版】

【Go报错】go go.mod file not found in current directory or any parent directory 错误解决

接口报错no message avaliable
随机推荐
Difficulty comparison between high concurrency and multithreading (easy to confuse)
【Star项目】小帽飞机大战(八)
单点登录 思维导图
知识、创新、回报。
postgresql源码学习(33)—— 事务日志⑨ - 从insert记录看日志写入整体流程
LeetCode刷题——摆动序列#376#Medium
LeetCode brush # 376 # Medium - swing sequence
mysql索引失效的常见9种原因详解
文件 - 02 上传文件:上传临时文件到服务器
Hook API
安装和使用uView
TypeScript进阶
浅析重复线性渐变repeating-linear-gradient如何使用
Postgresql source code learning (33) - transaction log ⑨ - see the overall process of log writing from the insert record
tidyverse笔记——tidyr包
Moment.js常用方法
Third-party library-store
Redux状态管理
从 Google 离职,前Go 语言负责人跳槽小公司
Run the NPM will pop up to ask "how are you going to open this file?"