mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-24 10:34:04 -08:00
bashcmdfishfish-shellgitgolanghacktoberfestnerd-fontsnushellpowerlinepowershellpromptprompt-toolkitshell-promptstarshiptooltipszsh
e27d34a1cb
* feat: improved theme png rendering Overall this improves glyph rendering in the theme PNGs for docs. Changes: - Replaces VictorMono with latest Hack nerd font - When calculating overall width, count glyphs as double wide - When rendering a glyph, allow ~1.7x space (this seemed right testing many) I hope this is a net improvement that helps theme renders be a bit more accurate and shine! * move to 2x for overall width expansion 1.7 introduces some odd offset problems with some backgrounds - 2x is stable. * Based on data from: https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points ...checking those points for nerd font glyphs in play I'm unfamiliar with Go here and maybe there's a better way to implement, but the results are much improved. * tweak ranges and bg position for font diff * exclude pixelated (e0c4-e0c7) from doube-width * simplify cyclomatic complexity Go checks were unhappy - this isn't a hot path so breaking it out into a format that matches the docs, for easier maintenance. * I have no idea what I'm doing ...but I hope this works - bit simpler layout to maintain too. * fix: add comments Good PR feedback - adding some more commentary for anyone coming across these bits later * typo |
||
---|---|---|
.github | ||
.vscode | ||
docs | ||
packages | ||
src | ||
themes | ||
.all-contributorsrc | ||
.commitlintrc.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.markdownlint.yaml | ||
.markdownlintignore | ||
.versionrc.json | ||
CONTRIBUTING.md | ||
COPYING | ||
README.md |
A prompt theme engine for any shell
What started as the offspring of oh-my-posh2 for PowerShell resulted in a cross platform, highly customizable and extensible prompt theme engine. After 4 years of working on oh-my-posh, a modern and more efficient tool was needed to suit my personal needs.
❤ Support ❤
Features
- Shell independent
- Git status indications
- Failed command indication
- Admin indication
- Current session indications
- Language info
- Shell info
- Configurable
Documentation
Roadmap
- CI
- Github Releases
- Create documentation for manual installation
- Create documentation on the different segments
- Create easy installation packages
- Powershell
- Brew
- Scoop
- Winget
- Swap V2 with V3
Thanks
- Chris Benti for providing the first influence to start oh-my-posh
- Keith Dahlby for creating posh-git and making life more enjoyable
- Robby Russel for creating oh-my-zsh, without him this would probably not be here
- Janne Mareike Koschinski for providing information on how to get certain information using Go (and the amazing README)
- Starship for creating an amazing way to initialize the prompt