Home >Backend Development >PHP Tutorial >I plan to change my Mac to zsh. What should I do if I used bash before?

I plan to change my Mac to zsh. What should I do if I used bash before?

WBOY
WBOYOriginal
2016-10-19 10:40:531295browse

For example, before .bash_profile .bashrc Wait, the contents inside cannot be used even if it is zsh. What needs to be done? Please ask the master of zsh to tell me.

Reply content:

For example, before .bash_profile .bashrc Wait, the contents inside cannot be used even if it is zsh. What needs to be done? Please ask the master of zsh to tell me.

zsh is fully compatible with bash. All you have to do is use the source command in ~/.zshrc to execute ~/.bash_profile.

<code>source ~/.bash_profile</code>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn