# Complexity of David

Data Science, Machine Learning, Artificial Intelligence, Visualization, and Complex Systems.

## Change PS1 Bash Prompt for Something Informative

My Bash PS1 Prompt is:

It outputs something like (but with colors)

If you want to change yours there are many resources online far more comprehensive than what I could fit here. The only trick in my prompt that you might be interested is the \$(parse_git_branch) part. This is

and it just checks if you are currently in a git repo, and extracts the branch. Very useful if you work with git.