当前位置:网站首页>解决安装 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 ,后续继续跟进。
边栏推荐
- MySQL笔记下
- 【Go语言刷题篇】Go完结篇函数、结构体、接口、错误入门学习
- 【TA-霜狼_may-《百人计划》】美术2.3 硬表面基础
- Conditional statements of shell (test, if, case)
- Gradle remove dependency demo
- codec2 BlockPool:unreadable libraries
- CHI论文阅读(1)EmoGlass: an End-to-End AI-Enabled Wearable Platform for Enhancing Self-Awareness of Emoti
- 2022.7.29 Array
- shell之条件语句(test、if、case)
- 文件 - 07 删除文件: 根据fileIds批量删除文件及文件信息
猜你喜欢
浅析v-model语法糖的实现原理与细节知识及如何让你开发的组件支持v-model
How to use repeating-linear-gradient
科普 | “大姨太”ETH 和 “小姨太”ETC的爱恨情仇
(border-box) The difference between box model w3c and IE
Zero-Shot Learning & Domain-aware Visual Bias Eliminating for Generalized Zero-Shot Learning
项目练习——备忘录(增删改查)
DirectExchange交换机简单入门demo
In-depth analysis of z-index
LeetCode brush # 376 # Medium - swing sequence
剑指offer(一)
随机推荐
Chapter 17: go back to find the entrance to the specified traverse, "ma bu" or horse stance just look greedy, no back to search traversal, "ma bu" or horse stance just look recursive search NXM board
【云原生】-Docker容器迁移Oracle到MySQL
熟悉而陌生的新朋友——IAsyncDisposable
【Star项目】小帽飞机大战(八)
Difficulty comparison between high concurrency and multithreading (easy to confuse)
芯塔电子斩获第十一届中国双创大赛芜湖赛区桂冠
拓扑排序的两种方法 --- dfs+Kahn
二叉树的还原(反序列化)
Automatic translation software - batch batch automatic translation software recommendation
一文读懂 MongoDB 和 MySQL 的差异
Project exercise - memorandum (add, delete, modify, check)
毫米波技术基础
简单谈谈Feign
安装和使用uView
CHI论文阅读(1)EmoGlass: an End-to-End AI-Enabled Wearable Platform for Enhancing Self-Awareness of Emoti
MySQL系列一:账号管理与引擎
英语翻译软件-批量自动免费翻译软件支持三方接口翻译
【Go语言入门】一文搞懂Go语言的最新依赖管理:go mod的使用
Postgresql source code learning (34) - transaction log ⑩ - full page write mechanism
uni-app生命周期