A minimal zsh prompt
Terminal is iTerm2 β Font is JetBrains Mono β Terminal theme is Seoul256
See how to make your terminal look exactly like the demo here
- 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
.
brew install typewritten
Then load typewritten in your .zshrc
by using zsh prompinit:
autoload -U promptinit; promptinit
prompt typewritten
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 Purenpm
install and uninstall scripts are from Spaceship prompt