Skip to content

Oh My Posh theme created to make the prompt more beautiful and convenient

License

Notifications You must be signed in to change notification settings

Dofoerix/Dfrx-Prompt-Theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

gray

Light Green

light_green

Green

green

Pink

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

full

Segments list
  • 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

standard

Segments list
  • 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

light

Segments list
  • 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

  1. Install Nerd Font version 2.3.3 that you like and set it in your terminal

  2. Install Oh My Posh for your system (Windows, macOS, Linux)

  3. Clone this repository or download one of the configuration files to any folder

  4. 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

  1. At the moment this segment is only displayed with Python files