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

边栏推荐
猜你喜欢

安装和使用uView

项目练习——备忘录(增删改查)

Postgresql source code learning (33) - transaction log ⑨ - see the overall process of log writing from the insert record

Database Principles Homework 2 — JMU

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

【Go】Go 语言切片(Slice)

【解决】npm ERR A complete log of this run can be found in npm ERR

【C语言项目合集】这十个入门必备练手项目,让C语言对你来说不再难学!

Install and use uView

【TA-霜狼_may-《百人计划》】美术2.3 硬表面基础
随机推荐
gstreamer's caps event and new_segment event
【C语言项目合集】这十个入门必备练手项目,让C语言对你来说不再难学!
【并发编程】ReentrantLock的lock()方法源码分析
批量免费文字翻译
Difficulty comparison between high concurrency and multithreading (easy to confuse)
如何在uni-app中选择一个合适的UI组件库
Postgresql source code learning (33) - transaction log ⑨ - see the overall process of log writing from the insert record
Moment.js常用方法
第十六章:构建n(5,7)阶素数幻方
讲解实例+详细介绍@Resource与@Autowired注解的区别(全网最全)
多进程全局变量失效、变量共享问题
项目 - 如何根据最近30天、最近14天、最近7天、最近24小时、自定义时间范围查询MySQL中的数据?
Detailed explanation of js prototype
CHI论文阅读(1)EmoGlass: an End-to-End AI-Enabled Wearable Platform for Enhancing Self-Awareness of Emoti
LeetCode:952. 按公因数计算最大组件大小【欧拉筛 + 并查集】
Some derivation formulas for machine learning backpropagation
二叉树的还原(反序列化)
安装gstreamer开发依赖库到项目sysroot目录
LeetCode brush # 376 # Medium - swing sequence
浅析v-model语法糖的实现原理与细节知识及如何让你开发的组件支持v-model