travismiller / .prompt

dot-prompt - an opinionated unix prompt configuration with color and git indicators.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.prompt

⚠️ NOTE: I use Oh My ZSH with the powerline10k theme. ⚠️

This setup assumes BASH and GIT. You can set the $PROMPT_TYPE variable to pre-determined colors.

  • local/default: cyan
  • dev: pink
  • prod: green

Manual Setup

Place this .prompt directory into your home directory.

$ git clone https://github.com/travismiller/.prompt.git ~/.prompt

Add the following to ~/.bash_profile

# colored prompt w/ git support
source ~/.prompt/profile 'local' 2> /dev/null

Screenshot

.prompt Screenshot

About

dot-prompt - an opinionated unix prompt configuration with color and git indicators.

License:MIT License


Languages

Language:Shell 100.0%