Templates for Oh My Posh
This is the base file. The features from left to right are:-
- OS Flavour
- Running user
- Host name, truncated to remove any domain after the machine name such as machine.example.com to show as machine.
- Current working directory, optimised to shorten to two significant directories and directory delimiters.
- The background of this field will change to a deeper red if the CWD is not writable.
- Command status, turns red on the failure of the previous command.
- If the CWD contains a git repository the git balloon will appear.
- The brach will be displayed.
- If there are modified files the colour of the background will change and the file count is displayed.
- If there are modified files in staging the file count for them is displayed.