#shell #zsh #bash #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

#53 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

~22–33MB
~561K SLoC