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

打开vim ~/.zshrc
加入 source ~/.bash_profile
:wq 保存
source ~/.zshrc
就可以完美的使用zsh了

zsh安装

mac自带zsh
切换zsh很简单 chsh zsh就可以切换过来

zsh配置

oh-my-zsh 帮我们整理了一些常用的 Zsh 扩展功能和主题:https://github.com/robbyrussell/oh-my-zsh
我们无需自己去捣搞 Zsh,直接用 oh-my-zsh 就足够了,如果你想继续深造的话那再去弄。
先安装 git:brew install git
安装 oh-my-zsh(这个过程可能会有点慢,或者需要重试几次):
sh -c “$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”
后发现不显示主机名和用户名,vim .zshrc

PROMPT=’%{fg[green]fg[green]%}%m@%{fg[green]fg[magenta]%}%(?..%?%1v)%n:%{resetcolorreset_color%}%{resetc​olorfg[cyan]%}%~#’
有时候提醒有些文件夹不安全

Insecure completion-dependent directories detected:
lrwxr-xr-x  1 andrew  admin  39 10 28 19:16 /usr/local/share/zsh/site-functions/_brew -> ../../../Homebrew/completions/zsh/_brew
lrwxr-xr-x  1 andrew  admin  44 10 28 19:16 /usr/local/share/zsh/site-functions/_brew_cask -> ../../../Homebrew/completions/zsh/_brew_cask
lrwxr-xr-x  1 andrew  admin  58 10 29 11:27 /usr/local/share/zsh/site-functions/_git -> ../../../Cellar/git/2.23.0_1/share/zsh/site-functions/_git[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.

简单粗暴的方法是在 .zshrc的最前面加入
ZSH_DISABLE_COMPFIX=true

最后激活一下:
source .zshrc

Mac zsh not found jupyter notebook相关推荐

  1. mac修改jupyter notebook启动时的打开目录

    Windows修改jupyter notebook打开后的路径请参考:https://blog.csdn.net/weixin_35757704/article/details/90051869 ma ...

  2. Mac M1 使用conda安装jupyter notebook

    我之前配置时使用的miniconda (1)打开终端 在终端依次输入: (2)conda install jupyter (3)pip install jupyter_contrib_nbextens ...

  3. Mac 终端打开jupyter notebook,用这句话就对了

    windows/mac打开jupyter notebook 命令行直接输入: jupyter notebook mac打开Ipython notebook 命令行直接输入:python3 -m IPy ...

  4. Mac中安装Miniconda, Pytorch, Jupyter notebook

    Step 1 - Miniconda 下载 Miniconda sh 文件,链接如下 https://repo.anaconda.com/miniconda/Miniconda3-latest-Mac ...

  5. 在Mac上使用pip3安装Jupyter Notebook并简单使用

    简介 Jupyter Notebook是基于网页的用于交互计算的应用程序.其可被应用于全过程计算:开发.文档编写.运行代码和展示结果. 简而言之,Jupyter Notebook是以网页的形式打开,可 ...

  6. MAC jupyter notebook

    pip3 install jupyter python3 -m IPython notebook 位置在:/Users/usr/untitled 完成.但是在以后的使用中,不要随便升级依赖库,可能会造 ...

  7. MAC电脑安装Python3下的Jupyter Notebook

    安装好Brew后 安装Python3 在brew下查找python3 $ brew search python3 ==> Formulae boost-python3 python3 ✔ pyt ...

  8. mac远程linux的ide,Jupyter notebook在mac:linux上的配置和远程访问

    IPython 和 Jupyter IPython 通常指的是一个 Python REPL(交互式解释器) shell.提供了远比 Python shell 强大的 shell 环境.IPython ...

  9. Mac 配置jupyter notebook 扩展 Nbextensions

    配置方法 进入jupyter notebook,新建一个python文件 打开Python文件后,在输入框中输入: !pip install -i pip install -i https://pyp ...

最新文章

  1. linux下发布的执行文件崩溃的问题定位 心得一则
  2. BZOJ3573:[HNOI2014]米特运输(树形DP)
  3. 将浮点数限制为两位小数
  4. AIX下删除LV后的现场保护和数据恢复方案
  5. angularJS 路由加载js controller 未定义 解决方案
  6. 微信小程序设置域名、不校验域名
  7. java蛮力法背包问题_[算法课]五种蛮力法解决01背包问题
  8. 空调吸气和排气_吸气剂和二传手被认为有害
  9. vs2005的webbrowser控件如何接收鼠标事件
  10. c语言bfs程序讲解,面试算法--二叉树DFS/BFS实现(C语言)
  11. java设计把两个字符串的值交换 而不使用中间变量
  12. BZOJ 1619: [Usaco2008 Nov]Guarding the Farm 保卫牧场
  13. java 文件转换成二进制_java实现文件转换成二进制存储与取出
  14. 【数理统计】数理统计的简单认识
  15. 十、Robotium测试入门
  16. 面对台风“烟花”,旅行延误会如何赔付?
  17. 学习LSL:Locate-Globally-Segment-locally
  18. java flv转mp3_java调用FFmpeg及mencoder转换视频为FLV并截图
  19. 文法二义性与语言二义性
  20. 十个Python图像处理工具,不可不知!

热门文章

  1. 30万奖金!首个有阿里技术培训支持,让AI落定场景应用的赛事!
  2. 剑指offer_第11题_二进制中1的个数
  3. CVPR 2021|一个绝妙的想法:在类别不平衡的数据上施展半监督学习
  4. 研究生第一篇科研论文常犯问题总结
  5. 教育部:禁止开学前网授新学期课程
  6. 操作系统学习:内存分页与中断
  7. CSDN实现自动点赞
  8. windows系统下的FTP命令
  9. 七个算法小仙女,写出一本1200页的深度学习技术手册!(限时公开下载)
  10. 使用 Pytorch 进行多类图像分类