#shell #bash #zsh #promp

app impromptu

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

1 unstable release

0.0.1 Oct 9, 2019

#48 in #zsh

MIT license

30KB
832 lines

[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)")'

Dependencies

~28MB
~557K SLoC