安装oh my zsh 的命令

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"--2021-09-01 15:44:32--  https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh
正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.108.133
正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|151.101.108.133|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:8445 (8.2K) [text/plain]
正在保存至: “STDOUT”100%[=================================================================>]   8.25K  --.-KB/s  用时 0s      2021-09-01 15:45:09 (21.1 MB/s) - 已写入至标准输出 [8445/8445]Cloning Oh My Zsh...
Cloning into '/Users/test/.oh-my-zsh'...
remote: Enumerating objects: 1140, done.
remote: Counting objects: 100% (1140/1140), done.
remote: Compressing objects: 100% (1103/1103), done.
remote: Total 1140 (delta 19), reused 1127 (delta 19), pack-reused 0
Receiving objects: 100% (1140/1140), 753.95 KiB | 17.00 KiB/s, done.
Resolving deltas: 100% (19/19), done.Looking for an existing zsh config...
Using the Oh My Zsh template file and adding it to ~/.zshrc.__                                     ______  / /_     ____ ___  __  __   ____  _____/ /_/ __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / /
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_//____/                       ....is now installed!Please look over the ~/.zshrc file to select plugins, themes, and options.p.s. Follow us on https://twitter.com/ohmyzshp.p.s. Get stickers, shirts, and coffee mugs at https://shop.planetargon.com/collections/oh-my-zsh

成功之后,打开新的终端后,会显示一些信息(以前安装的时候,没有这玩意):

[oh-my-zsh] For safety, we will not load completions from these directories until
[oh-my-zsh] you fix their permissions and ownership and restart zsh.
[oh-my-zsh] See the above list for directories with group or other writability.[oh-my-zsh] To fix your permissions you can do so by disabling
[oh-my-zsh] the write permission of "group" and "others" and making sure that the
[oh-my-zsh] owner of these directories is either root or your current user.
[oh-my-zsh] The following command may help:
[oh-my-zsh]     compaudit | xargs chmod g-w,o-w[oh-my-zsh] If the above didn't help or you want to skip the verification of
[oh-my-zsh] insecure directories you can set the variable ZSH_DISABLE_COMPFIX to
[oh-my-zsh] "true" before oh-my-zsh is sourced in your zshrc file.

所以要把这个信息屏蔽掉:
vim ~/.zshrc
文件第一行加入:
ZSH_DISABLE_COMPFIX="true" # 有的版本有引号, 有的版本无引号,自己尝试

保存之后,再执行命令:
source ~/.zshrc

解决oh my zsh Insecure completion-dependent directories detected相关推荐

  1. zsh报错 Insecure completion-dependent directories detected

    错误:Insecure completion-dependent directories detected 在vi ~/.zshrc头部添加 ZSH_DISABLE_COMPFIX=true 没用的情 ...

  2. 成功解决成功解决return _iterencode(o, 0) ValueError: Circular reference detected

    成功解决成功解决return _iterencode(o, 0) ValueError: Circular reference detected 目录 解决问题 解决思路 解决方法 解决问题 retu ...

  3. 解决Fortify漏洞:Insecure Randomness(不安全随机数)

    1. 解释 Fortify漏洞:Insecure Randomness(不安全随机数)指的是代码中使用了不安全或弱随机数生成器导致的安全漏洞.随机数在密码学应用.加密和解密等领域中经常被使用,如果生成 ...

  4. 如何优雅的解决mac安装zsh不执行.bash_profile

    转载于和感谢:https://www.cnblogs.com/lonecloud/p/9065978.html 最近刚刚重装了系统,并安装了优雅的shell命令工具zsh,突然发现我放在我的工作目录下 ...

  5. 解决 docker 中 zsh: command not found: jupyterlab 问题

    su: Authentication failure 问题 执行 sudo passwd root 设置密码,再次执行 su 即可切换到 root; zsh: command not found: j ...

  6. Ubuntu16.04安装ZSH并美化,解决git乱码问题

    文章目录 安装ZSH 安装oh-my-zsh 安装agnoster主题 安装字体库 更换主题 设置zsh为系统默认终端 乱码解决办法 解决办法 安装ZSH $ sudo apt-get install ...

  7. Mac zsh not found jupyter notebook

    zsh是一个很好的终端模拟器,在自动补全上面很好用.但是在初次使用的过程中,发现以前在bash里面的配置文件不能移植过来,解决的办法如下: 打开vim -/.zshrc 加入 source -/.ba ...

  8. Oh My ZSH让你的终端美如画

    文章目录 前言 安装方法 安装高亮显示插件 智能提示 zsh-autosuggestions 主题设置 设置 vim 可配色 临时不想用Oh My ZSH 方法一: 方法二: 卸载 参考文档 前言 无 ...

  9. zsh与oh-my-zsh ← 阳志平的个人网站::技术 zsh与oh-my-zsh ← 阳志平的个人网站::技术...

    zsh与oh-my-zsh ← 阳志平的个人网站::技术 zsh与oh-my-zsh Mac下默认的终端使用的是bash,有没有更好的? 是zsh. 安装zsh brew install zsh 配置 ...

最新文章

  1. <论文翻译>RepVGG: Making VGG-style ConvNets Great Again
  2. html你可能还不知道的一些知识点
  3. 马云:蚂蚁金服这样做区块链!
  4. 基于syslog+logstash+elasticSearch+redis日志分析系统实现
  5. websocket onclose方法什么时候触发_WebSocket断开重连解决方案,心跳重连实践
  6. Greendao bean序列化出现的 问题!
  7. js时间搓化为今天明天_秋冬国产搓背神器!360°无死角,让你搓背不求人,太舒服了...
  8. 键盘跟计算机无法识别,键盘无法识别的原因与解决办法
  9. 黑马程序员_7k面试题交通管理系统
  10. 设计模式笔记二十四:模板模式
  11. RuntimeError: view size is not compatible with input tensor‘s size and stride
  12. 操作系统中的hosts文件
  13. hdu 1536 S-Nim (sg)
  14. 医院信息管理系统需求分析
  15. 使用GCD 转自 Posted by 唐巧
  16. springboot 启动项目报Consider defining a bean of type 'com.mooc.house.biz.service.XXX' in your config
  17. 通频带、阻值、放大倍数之间的关系(Multisim仿真所得)
  18. 小宝贝流鼻血,治疗方法
  19. 一文教你股票买卖问题实用而装逼的解法
  20. 计算机自动获取IP地址流程详解

热门文章

  1. “悟道”公开课第二讲丨如何优化大模型输出结果
  2. 面向新闻媒体的命名实体识别技术
  3. HIN2Vec:异质信息网络中的表示学习 | PaperDaily #18
  4. 【Linux部署】Linux环境 .rar 格式文件处理工具安装使用(一波两折避坑指北)
  5. Eclipse自动生成返回值对象与补全与加注释
  6. mysql 安装只有一半_记一次MySQL安装出现的坑爹问题。。。
  7. 单例模式volatile
  8. 汇编语言——《子程序应用(数制转换)程序设计》实验报告
  9. WebSocket——stomp连接错误[Whoops! Lost connection to XXX]解决方案
  10. JAVA Swing——设置JButton按钮样式