PS1 Bash Prompt Builder With Python
This program is meant to take the pain out of generating nice bash PS1 prompts. Pull requests welcome! And if you build an awesome theme, drop something in the examples folder! Installation / Quickstart ↑ To install this package from pypy run the following command. pip3 install ps1 Execute this to make your first prompt export PS1=”$(ps1 template -t parrot)” License See: LICENSE Other Docs Examples entropy.sh export PS1='[e[38;5;196m]003422242140034222420000342224200[e[0m][e[38;5;196m]00342235260[e[0m]$(b_err_code=$?; [[ $b_err_code != 0 ]] && echo “[e[38;5;196m]00342234230[e[0m]/${b_err_code}” || echo “[e[38;5;10m]00342234224[e[0m]”)[e[38;5;196m]00342235261[e[0m][e[38;5;196m]00342224201[e[0m][e[38;5;196m]00342235260[e[0m]entropy:$(_shentropy)[e[38;5;196m]00342235261[e[0m][e[38;5;196m]00342224201[e[0m][e[38;5;196m]00342235260[e[0m][e[38;5;11m]$(br=$(git […]
Read more