auraline 0.6.0

utility that renders information into a string suitable to be embedded in the shell prompt.
1
2
3
4
5
6
7
8
9
10
11
setopt PROMPT_SUBST

auraline_preexec() {
    echo -n "$(date +%s%N)" > /tmp/auraline_cmd_start.$$
}

autoload -Uz add-zsh-hook
add-zsh-hook preexec auraline_preexec

PROMPT='$(~/.cargo/bin/auraline prompt --exit-code $?)
\$ '