从zsh的切换来砸在OSX,然后再返回? [英] Switching from zsh to bash on OSX, and back again?

查看:99
本文介绍了从zsh的切换来砸在OSX,然后再返回?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此​​,进出口学习Rails的开发,并已发现的zsh的力量。但是,对于我的一些其他任务,我希望用正常猛砸。虽然他们都是一样的,我只是觉得舒服在某些情况下铺陈猛砸。我如何来回切换,或者打开的zsh和关闭?谢谢!

So Im learning to develop in Rails, and have discovered the power of zsh. However, for some of my other tasks, I wish to use normal Bash. Although they are the same, I just feel comfortable with the lay out of bash in some situations. How do I switch back and forth, or turn zsh on and off? Thanks!

推荐答案

您可以只用 EXEC 用一个新的外壳,以取代当前的shell:

You can just use exec to replace your current shell with a new shell:

切换到庆典

exec bash

切换到的zsh

exec zsh

这不会影响新终端窗口或任何东西,但它的方便。

This won't affect new terminal windows or anything, but it's convenient.

这篇关于从zsh的切换来砸在OSX,然后再返回?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆