Back to Oh My Posh

Oh My Posh — Bash Setup

website/static/skills/ohmyposh/shell/bash.md

29.15.0364 B
Original Source

Oh My Posh — Bash Setup

Configure

Add this as the last line of ~/.bashrc (or ~/.profile / ~/.bash_profile depending on your environment):

bash
eval "$(oh-my-posh init bash)"

Reload:

bash
exec bash

Or, if using ~/.profile:

bash
. ~/.profile

Next step

Customize your prompt