Halloween Bash Profile Generator

2 min read Original article ↗

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\\$ "

Made in NYC at The Flatiron School 2012.

In our first week of learning to code, we were getting familiar with the Command Line and customizing our bash prompts. This involved deciphering webpages just to do simple tasks like adding colors or displaying the time. I thought there had to be an easier way to do this, so Halloween Bash was created to allow people customize their bash profile with an intuitive drag & drop interface.

If you have any comments or feedback, please reach out to me at @rexfeng. Thanks for checking out Halloween Bash!