pbsegments - A Custom Zsh Theme

February 17, 2025 ยท View on GitHub

pbsegments is a minimal and visually appealing custom theme for Oh My Zsh. It features a clean, segment-based prompt with Git integration, optimized for readability and usability.


Screenshots

With Git Repository:
Git Prompt

Without Git Repository:
Normal Prompt


Features

  • Displays the current working directory
  • Shows the username
  • Indicates Git branch and status
  • Custom symbols for better visual separation
  • Keeps the input area clean with > on a new line

Installation

  1. Clone or download the pbsegments.zsh-theme file into your custom themes directory:

    cp pbsegments.zsh-theme ~/.oh-my-zsh/custom/themes/
    
  2. Open your ~/.zshrc file and set the theme:

    ZSH_THEME="pbsegments"
    
  3. Apply changes by restarting the terminal or running:

    source ~/.zshrc
    

Customization

You can modify colors, symbols, and segment behavior by editing the pbsegments.zsh-theme file. Adjust colors to match your preferred terminal scheme.


License

This project is licensed under the MIT License.


Enjoy your personalized terminal experience with pbsegments!