messa
or Use cargo
sh
cargo install messa
.bashrc
sh
export PATH="$HOME/.cargo/bin:$PATH"
function create_prompt(){
PS1=$(messa --error $? --width $COLUMNS --user $USER --host $HOSTNAME -c $HOME/.messa.yaml)
}
export PROMPT_COMMAND="create_prompt;$PROMPT_COMMAND"
sh
wget -O ~/.messa.yaml https://raw.githubusercontent.com/shosatojp/messa/master/.messa.yaml
sh
. ~/.bashrc
sh
cargo build
powerline-shell
(Python)powerline-go
(Go)