The errors are from two small problems in .zprofile plus one in .zshrc. Here is exactly what to fix. export PROMPT=‘%n@%m %~ %# ’

# Test 1: No syntax errors
zsh -n ~/.zprofile ~/.zshrc
 
# Test 2: Homebrew works
which brew
brew --version
 
# Test 3: Tesseract works  
tesseract --version
# Optional: Update everything
brew update && brew upgrade
 
# Optional: Add more Tesseract languages (if needed)
brew install tesseract-lang
 
# Test Tesseract with a sample image
tesseract image.png output -l eng

Zsh is generally better than Bash for modern macOS use. macOS has used Zsh as the default shell since Catalina (2019), and it offers superior features while maintaining Bash compatibility.zsh.sourceforge

Key Advantages of Zsh

  • Better autocompletion: Tab completion predicts commands, paths, and options intelligentlyzsh.sourceforge

  • Globbing/wildcards**/*.txt finds files recursively; file*(.N) lists only regular fileszsh.sourceforge

  • Prompt customization: Easy themes via Oh My Zsh (Powerlevel10k is popular)jade

  • History search: Up arrow + type to search previous commandszsh.sourceforge

  • Syntax highlighting: Colors commands as you type (with plugins)jade

Bash vs Zsh Comparison

FeatureBashZsh
Default on macOSNo (pre-2019)Yes (Catalina+)
AutocompletionBasicAdvanced, shared history
Plugin ecosystemLimitedOh My Zsh (1000+ plugins)
SpeedFaster for simple scriptsSlightly slower but feature-rich
Learning curveFamiliarEasy transition

Recommendation

Stick with Zsh since:

  • You’re already using it successfully

  • All your config (.zshrc.zprofile) is Zsh-optimized

  • Homebrew/Tesseract work perfectly

  • Future-proof for macOS updates

Optional enhancement: Install Oh My Zsh for themes/plugins:

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Bash is fine for simple scripts, but Zsh wins for interactive daily use.jade+1

  1. https://zsh.sourceforge.io/Intro/intro.html
  2. https://docs.jade.fyi/zsh/

You can customize the Mac Terminal by 

==changing its appearance using profiles(which control fonts, colors, and backgrounds) and by customizing the shell promptby editing configuration files like== .zshrc. For more advanced customization, consider installing a third-party tool like iTerm2. 

Customize Terminal appearance with profiles 

This video shows how to customize terminal appearance with profiles:

Related video thumbnail

59s

[

Josean Martinez

YouTube • Oct 3, 2022

](https://www.youtube.com/watch?v=CF1tMjvHDRA&t=360)

  1. Open the Terminal app and go to Terminal > Settings.
  2. Click on Profiles in the top bar.
  3. Select a profile you want to modify or click the + button to create a new one.
  4. Use the Text tab to change fonts, text colors, and background colors or images.
  • Use the Window tab to adjust settings like window title and size. 

Customize the shell prompt 1. Open or create the shell configuration file for your shell. For zsh (the default on modern macOS), this is ~/.zshrc. For bash, it’s ~/.bash_profile. 2. To edit the file, you can use a command-line editor like nano (e.g., nano ~/.zshrc). 3. Add or modify the export PS1="..." line to customize your prompt. For example, export PS1="[%n]%~>" adds the username [%n] and the current directory [%~]before the prompt symbol >. 4. Save the file and restart the Terminal, or run the command source ~/.zshrc to apply the changes immediately. Use third-party tools for more customization 

This video introduces Oh My Zsh and how to install it:

Related video thumbnail

1m

[

Warp

YouTube • Jul 7, 2023

](https://www.youtube.com/watch?v=d4bTkiftBOk&t=39)

  • iTerm2: A popular alternative Terminal with more features. You can find and install third-party color schemes, set up hotkeys, and enable unlimited scrollback.
  • Oh My Zsh: A framework for managing zsh configuration. You can use it to easily install themes and plugins to customize your shell prompt and add functionality. 

Use profiles to change the look of Terminal windows on Mac - Apple Support (UZ)

You can modify a Terminal window profile on a Mac by following these steps: 1. Open the Terminal app 2. Select **Terminal > Settin…

Apple Support

Use profiles to change the look of Terminal windows on Mac

Create a new profile or modify an existing profile * Go to the Terminal app on your Mac. * Choose Terminal > Settings, then click …

Apple Support

Change Profiles Text settings in Terminal on Mac - Apple Support

Use Text settings in Terminal to change the font, text, color, and cursor options for a Terminal window profile. To change these s…

Apple Support

folders

Filters

Tags (1)

Get the most out of Raindrop.ioUpgrade to PRO

All bookmarks

My Ultimate Terminal Customizations for macOS

12/7/2025

My Ultimate Terminal Customizations for macOS

Mac Terminal Customization with Oh-My-ZSH and powerlevel10k | 1 + 1 = 10

12/7/2025

Mac Terminal Customization with Oh-My-ZSH and powerlevel10k | 1 + 1 = 10

How I customise my Terminal with Oh My Zsh (macOS) - DEV Community

12/7/2025

How I customise my Terminal with Oh My Zsh (macOS) - DEV Community

How to customize the Terminal? : r/mac

12/7/2025

How to customize the Terminal? : r/mac

How to make your boring macOS terminal look so much better | by Mohammed Omer | Medium

12/7/2025

How to make your boring macOS terminal look so much better | by Mohammed Omer | Medium

Raindrop.io

12/7/2025

Raindrop.io

sharing - How to change computer name so terminal displays it in Mac OS X Mountain Lion? - Ask Different

12/7/2025

sharing - How to change computer name so terminal displays it in Mac OS X Mountain Lion? - Ask Different

Customizing your Mac’s Terminal. How to improve your macOS Terminal… | by Jarosz 🇵🇱 | Medium

12/7/2025

Customizing your Mac’s Terminal. How to improve your macOS Terminal… | by Jarosz 🇵🇱 | Medium

Change settings in Terminal on Mac - Apple Support

12/7/2025

Change settings in Terminal on Mac - Apple Support

How to Make Your Mac Terminal Better and Make It More Colorful | by Roman Melnik | JavaScript in Plain English

12/7/2025

How to Make Your Mac Terminal Better and Make It More Colorful | by Roman Melnik | JavaScript in Plain English

Customize your mac and VS code terminal-EASY! - DEV Community

12/7/2025

Customize your mac and VS code terminal-EASY! - DEV Community

Raindrop.io

Raindrop.io

AQNaTsKXlwSizejW OBGqoBGSXVahCVikhwFweJRRhDuuNttcGODvpBxwOJWEaNTREiostCfRsM

AQNaTsKXlwSizejW OBGqoBGSXVahCVikhwFweJRRhDuuNttcGODvpBxwOJWEaNTREiostCfRsM

13 bookmarks

username@hostname in terminal

chsh -s $(which zsh)

Manual Installation

1. Clone The Repository 

git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh
2. Optionally, Backup Your Existing ~/.zshrc File 

cp ~/.zshrc ~/.zshrc.orig
3. Create A New Zsh Configuration File 

You can create a new zsh config file by copying the template that we have included for you.

cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
4. Change Your Default Shell 

chsh -s $(which zsh)

You must log out from your user session and log back in to see this change.

5. Initialize Your New Zsh Configuration 

Once you open up a new terminal window, it should load zsh with Oh My Zsh’s configuration.

https://www.inaturalist.org/people/10006428