A Pure-inspired prompt in Rust.
Even more minimal, definitively faster and at least as pretty as the original Pure by Sindre Sohrus.
$ cargo build --release
``
function zle-line-init zle-keymap-select {
PROMPT=
/PATH/TO/PURS/target/release/purs prompt -k "$KEYMAP" -r "$?"`
zle reset-prompt
}
zle -N zle-line-init
zle -N zle-keymap-select
autoload -Uz add-zsh-hook
function promptpursprecmd() { /PATH/TO/PURS/target/release/purs precmd } add-zsh-hook precmd _promptpurs_precmd
```
It's a pet project with wide areas for optimization and enhancement. I'm really open to discussions, PRs a plus.
It's a pet project with wide areas for optimization and enhancement. I'm really open to discussions, PRs a plus.
MIT, see LICENSE file.