impromptu

Crates.ioimpromptu
lib.rsimpromptu
version0.0.1
sourcesrc
created_at2019-10-09 16:03:15.917023
updated_at2019-10-09 16:03:15.917023
description Generate your prompt with an efficient compiled rust program and make it look identical across shells.
homepagehttps://github.com/f-koehler/impromptu
repository
max_upload_size
id171242
size78,345
(f-koehler)

documentation

README

[WIP] impromptu

Build Status

Generate your prompt with an efficient compiled rust program and make it look identical across shells.

Using in your shell

zsh

Add this line to your ~/.zshrc:

precmd() {
    PROMPT=$'$(/path/to/impromptu "$?" "$(jobs -l)")'
}

bash

Add this line to your ~/.bashrc:

PS1='$(/path/to/impromptu "$?" "$(jobs -l)")'
Commit count: 0

cargo fmt