Skip to content

jbmorley/configure-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

configure-prompt

Minimal prompt for Zsh

Screenshot of terminal using configure-prompt

Features

  • current working directory
  • active branch
  • hostname
  • timestamp

Usage

  1. Clone the repository:

    mkdir -p ~/Projects
    cd ~/Projects
    git clone git@github.com:jbmorley/configure-prompt.git
  2. Add the following lines to ~/.zshrc:

    FPATH="$FPATH:$HOME/Projects/configure-prompt"
    autoload configure-prompt
    configure-prompt

    You can optionally provide a custom machine name by specifying it as the first argument to configure-prompt:

    configure-prompt "The Comedian"

The above instructions assume you want to clone the project to ~/Projects/configure-prompt, which is where I like to keep all my projects and git checkouts. Feel free to change this path if you'd like to place it somewhere else.

About

Minimal prompt for Zsh

Resources

License

Stars

Watchers

Forks