Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reobin/typewritten

A minimal, lightweight, informative zsh prompt theme
https://github.com/reobin/typewritten

async git hacktoberfest minimal prompt shell terminal theme zsh

Last synced: 30 days ago
JSON representation

A minimal, lightweight, informative zsh prompt theme

Awesome Lists containing this project

README

        


typewritten

typewritten

A minimal zsh prompt






















All contributors



typewritten zsh prompt demo

> Terminal is [iTerm2](https://iterm2.com/) — Font is [JetBrains Mono](https://www.jetbrains.com/lp/mono/) — Terminal theme is [Seoul256](https://github.com/junegunn/seoul256.vim)
>
> See how to make your terminal look exactly like the demo [here](https://github.com/reobin/typewritten/discussions/128)

## Features

- Asynchronous git info
- Fully customizable
- [Colors for any of the prompt sections](https://typewritten.dev/#/prompt_color_customization)
- [Prompt layout](https://typewritten.dev/#/prompt_customization?id=typewritten_prompt_layout)
- [Prompt symbol](https://typewritten.dev/#/prompt_customization?id=typewritten_symbol)
- [Constant display of git home directory](https://typewritten.dev/#/prompt_customization?id=typewritten_git_relative_path)
- [Cursor](https://typewritten.dev/#/prompt_customization?id=typewritten_cursor)
- [Prefix on right prompt](https://typewritten.dev/#/prompt_customization?id=typewritten_right_prompt_prefix)

## Quick start

### [npm](https://npmjs.com/get-npm)

```shell
npm install -g typewritten
```

That's it. The script will make the necessary symlinks to `fpath` and set the prompt in your `.zshrc`.

### [Homebrew](https://brew.sh)

```shell
brew install typewritten
```

Then load typewritten in your `.zshrc` by using zsh prompinit:

```shell
autoload -U promptinit; promptinit
prompt typewritten
```

### Manual

Clone the typewritten repository somewhere you can easily link. I recommend creating a `.zsh` directory at root.

```shell
mkdir -p "$HOME/.zsh"
git clone https://github.com/reobin/typewritten.git "$HOME/.zsh/typewritten"
```

Load typewritten in your `.zshrc` by using zsh prompinit:

```shell
fpath+=$HOME/.zsh/typewritten
autoload -U promptinit; promptinit
prompt typewritten
```

Note: if using `oh-my-zsh`, set `ZSH_THEME=""` in your `.zshrc` to disable oh-my-zsh themes.

### Other ways to install

Many other ways to install typewritten are available in the [docs](https://typewritten.dev/#/installation)

## Customization

typewritten is customizable in many ways. To keep the readme file as lean as possible, the documentation was moved to [https://typewritten.dev](https://typewritten.dev).

The documentation is separated into two parts:

- [Prompt customization](https://typewritten.dev/#/prompt_customization), everything to do with how and where the info is displayed
- [Prompt color customization](https://typewritten.dev/#/prompt_color_customization), set a custom color for any of the prompt sections

**Example of 3 customized typewritten prompts**







## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Robin Gagnon
Robin Gagnon

💻 🚧 📖
thbe
thbe

💻
Erik Reinertsen
Erik Reinertsen

💻 📖
Artem Zinnatullin :slowpoke:
Artem Zinnatullin :slowpoke:

💻 📖
Nizar
Nizar

💻
John Letey
John Letey

📖
Niranjan
Niranjan

💻


Nikhil
Nikhil

🤔
Tobias Deekens
Tobias Deekens

🤔
Caleb Cushing
Caleb Cushing

🤔
Konstantin Petrov
Konstantin Petrov

💻 📖
Krzysztof Tomasz Zembrowski
Krzysztof Tomasz Zembrowski

📖
Ivan Velickovic
Ivan Velickovic

📖
Jeremy Barisch-Rooney
Jeremy Barisch-Rooney

🤔


Gino
Gino

🐛
frdrk
frdrk

🐛 📓
Huy Ha
Huy Ha

🐛 📓
yanyan
yanyan

💻
Louis de Charsonville
Louis de Charsonville

🐛 💻
Jack Chapman
Jack Chapman

💻 🐛
GPSBach
GPSBach

💻 🤔


Will Lorey
Will Lorey

📖
Gabriel Ataide
Gabriel Ataide

🐛 💻
Scupake
Scupake

🤔 ⚠️
Crystal Adkins
Crystal Adkins

💻 🤔
J.B.C
J.B.C

🐛 💻
Jeeva K
Jeeva K

🐛 🤔
awakened
awakened

🤔


spamwax
spamwax

🤔
Austin Ray
Austin Ray

💻 🐛
Alan
Alan

🐛
Vedant Nandwana
Vedant Nandwana

📖
Kyle Dozier
Kyle Dozier

📖 🤔
Daniel Bayley
Daniel Bayley

💻 📖

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

## Supporters 🌞

[![Stargazers repo roster for @reobin/typewritten](https://reporoster.com/stars/reobin/typewritten)](https://github.com/reobin/typewritten/stargazers)

[![Forkers repo roster for @reobin/typewritten](https://reporoster.com/forks/reobin/typewritten)](https://github.com/reobin/typewritten/network/members)

## Credits

- `pure` layout is inspired by [Pure](https://github.com/sindresorhus/pure)
- `npm` install and uninstall scripts are from [Spaceship prompt](https://github.com/spaceship-prompt/spaceship-prompt)