a simple prompt inspired by pure
rpure
is based on code from .
Why? Started as a Rust learning project.
- shortened current working directory
- git info (branch/commit, ahead/behind status, repo status)
- superuser indicator
- fully configurable
The symbol (●) at the beginning of the 2nd line is the Readline vim state.
To setup it, need to put this lines on the file .inputrc
on the home directory:
set show-mode-in-prompt on
set vi-cmd-mode-string "⊙"
set vi-ins-mode-string "●"
for more information check the Readline init file syntax