DEV Community

Jindřich Stoklasa
Jindřich Stoklasa

Posted on

I got tired of editing PS1, so I made a visual prompt generator

Hi all,

I made a small Bash PS1 prompt generator and I thought it could be useful for some of you.

This is a basic web tool that allows you to visually construct your prompt, select colors, add your username and path, include a git branch, etc, and you will get the PS1 string on the prompt without the need to deal with the escape sequences.

I made this tool for myself to get rid of the repeated tiring work of adjusting the PS1 manually every single time 😅

So if anyone is interested, here it is:

Bash Prompt Generator – Create Custom PS1 Prompts Online

Create custom PS1 prompts for Bash with an interactive generator.

neiki.eu

GitHub:

GitHub logo jindrichstoklasa / bash-prompt-generator

Interactive Bash PS1 prompt generator – build custom terminal prompts with colors, Git branch, and more. No installation.

Bash Prompt Generator

No build required Works in browser

An interactive Bash PS1 prompt generator and Linux prompt builder. Create custom terminal prompts with colors, Git branch, system info, and formatting—no installation needed. Use the visual canvas to build your prompt and get ready-to-copy code for ~/.bashrc.

Keywords: bash prompt generator · PS1 generator · custom bash prompt · terminal prompt builder · Linux prompt

Bash Prompt Generator - interactive PS1 builder with drag-and-drop canvas and live preview

Live version: https://neiki.eu/bash-prompt-generator/


Why use a Bash Prompt Generator?

Tired of the plain $ in your terminal? Want to see your Git branch, current path, or system info at a glance? This tool lets you visually build a custom PS1 prompt—no need to memorize escape codes or edit .bashrc by hand. Add elements, set colors, and copy the result.


Bash Prompt Generator Features

The app lets you build a PS1 prompt by adding building blocks (date, user, path, Git branch, etc.) to a canvas, style them with colors and…

I wouldn't mind feedback, and I would especially be interested to know what features you think should be added, or what you would like to see improved 👍

Top comments (0)