Crates.io | impromptu |
lib.rs | impromptu |
version | 0.0.1 |
source | src |
created_at | 2019-10-09 16:03:15.917023 |
updated_at | 2019-10-09 16:03:15.917023 |
description | Generate your prompt with an efficient compiled rust program and make it look identical across shells. |
homepage | https://github.com/f-koehler/impromptu |
repository | |
max_upload_size | |
id | 171242 |
size | 78,345 |
Generate your prompt with an efficient compiled rust program and make it look identical across shells.
Add this line to your ~/.zshrc
:
precmd() {
PROMPT=$'$(/path/to/impromptu "$?" "$(jobs -l)")'
}
Add this line to your ~/.bashrc
:
PS1='$(/path/to/impromptu "$?" "$(jobs -l)")'