Coder Social home page Coder Social logo

typewritten's Introduction

>_ 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

typewritten's People

Contributors

reobin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.