Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

patent10021

macrumors 68040
Original poster
Apr 23, 2004
3,537
813
I have all my paths for various apps and other settings in my .bash_profile.

I thought Catalina was supposed to automatically create a zsh_profile but the only zsh file I have is .zsh_history.

When I use zsh all my settings and commands don't work obviously so how do I migrate them over to zsh?

Do I create a .zsh_profile file and copy and paste from .bash_profile?

p.s. Since zsh is default for Catalina now, why isn't this done automatically for us? And why sin't there even a zsh profile? Seems very un-Apple like.
 
Terminal use is not a standard use case. The expectation is that experienced user do this.
It is easy to get unexpected side effect from a .bash_profile that has been custom tailored.
 
Terminal use is not a standard use case. The expectation is that experienced user do this.
It is easy to get unexpected side effect from a .bash_profile that has been custom tailored.
ok so do you know how to migrate bash settings to zsh? Just copy and paste? I've used zsh before and the only thing that was different were the file names like .bash_profile / .zsh_profile.

They are both shells so a copy and paste should work right?
 
Is bash still available on Catalina or did they eliminate it entirely?

According to the manpage the relevant profile files should be ˜/.zprofile, ˜/.zshrc and ˜/.zlogin. However, the only one I can get zsh to read on High Sierra is .zshrc. It keeps ignoring the other ones regardless of whether it is invoked as login shell, interactive shell, scripting shell, etc. By linking ˜/.profile to ˜/.zshrc I get my usual environment back but it should actually be ˜/.profile -> ˜/.zprofile
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.