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

边栏推荐
- Detailed explanation of js prototype
- 小实战项目之——吃货联盟订餐系统
- 【 TA - frost Wolf _may - "one hundred plan" 】 art 2.3 hard surface
- 【Go语言刷题篇】Go完结篇函数、结构体、接口、错误入门学习
- 拉格朗日插值及其应用
- Postgresql source code learning (33) - transaction log ⑨ - see the overall process of log writing from the insert record
- Oracle 日期函数相关
- 数据库原理作业2 — JMU
- Automatic translation software - batch batch automatic translation software recommendation
- DirectExchange交换机简单入门demo
猜你喜欢

一文读懂 MongoDB 和 MySQL 的差异

Automatic translation software - batch batch automatic translation software recommendation

Analysis of the principle and implementation of waterfall flow layout

Project exercise - memorandum (add, delete, modify, check)

批量免费文字翻译

机器学习反向传播的一些推导公式

文件 - 05 下载文件:根据文件Id下载文件

Some derivation formulas for machine learning backpropagation

浅层了解欧拉函数

数据库原理作业2 — JMU
随机推荐
SQL Server Datetime2数据类型
Web浏览器工作流程解析
Database Principles Homework 3 — JMU
【C语言项目合集】这十个入门必备练手项目,让C语言对你来说不再难学!
事务的传播机制
Third-party library-store
试题 历届真题 错误票据【第四届】【省赛】【B组】
MySQL系列一:账号管理与引擎
【Star项目】小帽飞机大战(七)
Database Principles Homework 2 — JMU
线程中断方法
Exam Questions Previous True Questions Wrong Bills [The Fourth Session] [Provincial Competition] [Group B]
postgresql源码学习(33)—— 事务日志⑨ - 从insert记录看日志写入整体流程
数据库原理作业2 — JMU
安装和使用uView
SQLite数据库连接字符串
DirectExchange switch simple introduction demo
文件 - 03 下载文件:根据文件id获取下载链接
Some derivation formulas for machine learning backpropagation
从 Google 离职,前Go 语言负责人跳槽小公司