Torim - Simple and informative Zsh theme for Zim

January 30, 2025 ยท View on GitHub

This is a prompt theme for Zsh designed to be used with the Zim framework.

Terminal screenshot

This theme is inspired by / has taken features from

Features

A one-line prompt where the left side:

  • Shows user and host name only when accessed via SSH
  • Truncates long paths (for the working directory)
  • Changes colour to indicate root privileges

And the right side shows:

  • If the last command failed (and error code)
  • The duration of long-running commands
  • The current time
  • Git status
  • Any active virtual environment

Installation

  1. Install Zsh and Zim
  2. Add the following lines to your .zimrc (you might already have the dependencies):
zmodule duration-info
zmodule git-info
zmodule aggrathon/torim