A minimal zsh prompt
Terminal is iTerm2 — Font is JetBrains Mono — Terminal theme is Seoul256
- Asynchronous git info
- Fully customizable
npm install -g typewritten
That's it. The script will make the necessary symlinks to fpath
and set the prompt in your .zshrc
.
Clone the typewritten repository somewhere you can easily link. I recommend creating a .zsh
directory at root.
mkdir -p "$HOME/.zsh"
git clone https://github.com/reobin/typewritten.git "$HOME/.zsh/typewritten"
Load typewritten in your .zshrc
by using zsh prompinit:
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.
Many other ways to install typewritten are available in the docs
typewritten is customizable in many ways. To keep the readme file as lean as possible, the documentation was moved to https://typewritten.dev.
The documentation is separated into two parts:
- Prompt customization, everything to do with how and where the info is displayed
- Prompt color customization, set a custom color for any of the prompt sections
Example of 3 customized typewritten prompts
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
pure
layout is inspired by Pure