← All Tools

๐Ÿ–ฅ๏ธ Bash PS1 Prompt Builder

Drag segments, pick colors, and watch the prompt render live. Uses standard Bash PS1 escape codes (\u \h \w \$ \A) and ANSI color with proper \[ \] wrappers so readline counts the width correctly. Copy the line straight into your ~/.bashrc.

Segments

Presets

Preview

Simulated โ€” your real prompt will substitute $USER, $HOSTNAME, $PWD, etc.

PS1 export

Append this to ~/.bashrc and run source ~/.bashrc.
Copied!