https://github.com/aggrathon/torim
Simple and informative Zsh theme for Zim
https://github.com/aggrathon/torim
terminal theme zimfw zsh
Last synced: about 1 month ago
JSON representation
Simple and informative Zsh theme for Zim
- Host: GitHub
- URL: https://github.com/aggrathon/torim
- Owner: Aggrathon
- License: mpl-2.0
- Created: 2025-01-26T16:20:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-30T22:31:04.000Z (over 1 year ago)
- Last Synced: 2025-03-22T21:33:36.767Z (about 1 year ago)
- Topics: terminal, theme, zimfw, zsh
- Language: Shell
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Torim - Simple and informative Zsh theme for Zim
This is a prompt theme for [Zsh](https://www.zsh.org/) designed to be used with the [Zim framework](https://zimfw.sh).

This theme is inspired by / has taken features from
- https://github.com/zimfw/sorin
- https://github.com/zimfw/asciiship
- https://github.com/ohmyzsh/ohmyzsh/wiki/themes#mh
## 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](https://zimfw.sh)
2. Add the following lines to your `.zimrc` (you might already have the dependencies):
```
zmodule duration-info
zmodule git-info
zmodule aggrathon/torim
```