$ _ Bash Prompt Generator
Prompt Elements
- Date
- Date (formatted)
- Time (24-hour)
- Time (12-hour)
- Time (am/pm)
- Time (without seconds)
- Username
- Hostname (short)
- Hostname
- Working Directory
- Working Directory (Basename)
- Newline
- Carriage Return
- Bell
- Terminal
- Shell
- Bash Version
- Bash Release
- History Number
- Command Number
- Jobs
- Prompt Sign
- Exit Status
- Git Branch
- Advanced Git Prompt
- IP Address
- Command
- Environment Variable
- Set Window Title
- ␣
- ~
- !
- ?
- @
- #
- $
- %
- ^
- &
- *
- (
- )
- {
- }
- [
- ]
- -
- _
- +
- =
- /
- \
- |
- ,
- .
- :
- ;
- "
- '
- <
- >
- Text
Your Prompt
You have not added any elements to your prompt yet.
Click on a prompt element to start.
Alternatively, you can paste your existing PS1
string to import it: