---
title: "[MAC]zsh与bash兼容问题"
author: "繁星水"
date: "2020-01-31T19:19:44Z"
tags: ["Bash", "zsh"]
categories: ["操作系统"]
slug: "mac-zsh-bash"
draft: false
lastmod: "2020-01-31T19:19:44Z"
id: 2512204
url: "https://jameskaron.iteye.com/blog/2512204"
---

参考: https://blog.csdn.net/qq\_34706266/article/details/90139113

 

最新的zsh网上推荐功能比较强大,但是有坑,一些脚本不能执行,例如flutter,Jupyter,face\_regconition这些都受影响

需要切换会bash:

 

```
chsh -s /bin/bash
```

 

切换zsh:

```
chsh -s /bin/zsh
```