Awesome
Dofoerix' Prompt Theme
Oh My Posh theme created to make the prompt more beautiful and convenient
Variations
By colors
Name of the folder with configuration files
Gray
Light Green
Green
Pink
Other
Other WIP themes variants can be found on other-themes branch
By segments
full
/standard
/light
in the name of the config file
Full
<details> <summary>Segments list</summary>- Current user
- Current folder
- Git (displayed in the git repo)
- Language version (displayed in directory with Python file)1
- Execution time
- Exit (broken heart if exit code ≠ 0)
- Root (displayed if the current user is root)
- Time
Standard
<details> <summary>Segments list</summary>- Current folder
- Git (displayed in the git repo)
- Execution time
- Exit (broken heart if exit code ≠ 0)
- Root (displayed if the current user is root)
- Time (minutes and seconds if the prompt is transient)
Light
<details> <summary>Segments list</summary>- Current folder
- Execution time
- Exit (broken heart if exit code ≠ 0)
- Root (displayed if the current user is root)
- Time (minutes and seconds if the prompt is transient)
By transient prompt
no_tr
in the name of the config file means this feature is disabled in this variant
More info about transient prompt can be found here
Usage
-
Install Nerd Font version 2.3.3 that you like and set it in your terminal
-
Clone this repository or download one of the configuration files to any folder
-
Set the theme using this guide
Replace
~/jandedobbeleer.omp.json
in the command with a path to any variant of this theme (e.g.~/any-folder/Dfrx-Prompt-Theme/gray/full_no_tr.omp.json
)You can also use the URL of the raw file on GitHub instead of the path (e.g.
https://raw.githubusercontent.com/Dofoerix/Dfrx-Prompt-Theme/main/gray/full_no_tr.omp.json
)
Footnotes
-
At the moment this segment is only displayed with Python files ↩