Skip to content

A minimal, informative zsh prompt theme

License

Notifications You must be signed in to change notification settings

bitterbit/typewritten

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

>_ typewritten - a minimal, informative zsh prompt theme

Leaves all the room for what's important. video

Terminal is iTerm2 — Font is FiraCode — Terminal theme is SpaceCamp

Features

  • Current directory
  • Current git branch
  • Git status indicators:
    • ?   — untracked change(s);
    • +   — staged change(s);
    • !   — file(s) modified in the repo;
    • »   — renamed file(s);
    •   — deleted file(s);
    • $   — stashed change(s);
    • #   — unmerged change(s);
    • •| — behind of remote branch;
    • |• — ahead of remote branch;
  • Prompt color changes to red when an error return code is
    returned and code is displayed on the right
  • Cursor customization
  • Multiline support
  • Prompt cursor fix when exiting vim

Installation

Clone the repository into your custom oh-my-zsh themes directory:

$ git clone https://github.com/reobin/typewritten.git $ZSH_CUSTOM/themes/typewritten

Symlink typewritten.zsh-theme to your oh-my-zsh custom themes directory:

ln -s "$ZSH_CUSTOM/themes/typewritten/typewritten.zsh-theme" "$ZSH_CUSTOM/themes/typewritten.zsh-theme"

Set ZSH_THEME="typewritten" in your .zshrc.

Cursor option

Default cursor is underscore, but there is two more options: beam and block. They are both configured by adding the TYPEWRITTEN_CURSOR zsh variable to your .zshrc:

export TYPEWRITTEN_CURSOR="beam"

Multiline option

Multiline is now supported thanks to @thbe. Add this option to your .zshrc:

export TYPEWRITTEN_MULTILINE=true

Screenshots

Multiline multiline

Return code return code

About

A minimal, informative zsh prompt theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published