fprompt

CI

Install

  1. Install fprompt
  1. Append following code to your .bashrc

sh export PATH="$HOME/.cargo/bin:$PATH" function create_prompt(){ PS1=$(fprompt --error $? --width $COLUMNS --user $USER --host $HOSTNAME -c $HOME/.fprompt.yaml) } export PROMPT_COMMAND="create_prompt;$PROMPT_COMMAND"

  1. Setup config

sh wget -O ~/.fprompt.yaml https://raw.githubusercontent.com/shosatojp/fprompt/master/.fprompt.yaml

  1. Reload your shell

sh . ~/.bashrc

Build

sh cargo build