Bash Profile Generator

Build your very own .bash_profile

bash preview

HalloweenBash — bash — 80x24

macbook:HalloweenBash jon$

Your Configuration

  • short hostname
  • :
  • current dir basename
  • (space)
  • user
  • $

1.) Drag these into (Your Configuration) above

  • date (Day Month Date)
  • short hostname
  • full hostname
  • current shell jobs
  • terminal device
  • (newline)
  • user
  • shell name
  • time (24h HH:MM:SS)
  • time (12h HH:MM:SS)
  • time (12h AM PM)
  • time (24h HH:MM)
  • bash version
  • long bash version
  • current dir
  • current dir basename
  • @
  • git branch
  • exit status
  • !
  • #
  • [
  • ]
  • 0
  • ^
  • *
  • -
  • _
  • {
  • }
  • :
  • ,
  • .
  • ?
  • >
  • (space)

2.) Choose your colors

Foreground

  • (default)
  • Black
  • Blue
  • Green
  • Cyan
  • Red
  • Purple
  • Brown

Background

  • (default)
  • Black
  • Blue
  • Green
  • Cyan
  • Red
  • Purple
  • Brown

3.) Copy this into your ~/.bash_profile

export PS1="\h:\W \u\\$ "
Star