posh-git
oh-my-posh
Our great sponsors
posh-git | oh-my-posh | |
---|---|---|
17 | 113 | |
7,356 | 13,883 | |
- | - | |
0.0 | 9.7 | |
19 days ago | 6 days ago | |
PowerShell | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
posh-git
-
The bash book to rule them all
PowerShell: https://github.com/dahlbyk/posh-git/blob/master/src/GitPromp...
I believe this is clean Bash code and clean PowerShell code, and a script with a certain complexity. The functions inside the Bash script are documented using comments, the ones inside the PowerShell script are documented using "structured comments" (similar to javadoc/xmldoc/...). The parameters of the functions inside the PowerShell script also contain metadata which is used to provide completion on the commandline and similar functionality as the command line flags you demonstrated.
I just learned about 'getopts' in Bash, which you can actually also use to implement parameters to a Bash function. So what you are showing on a script level, can also be applied for functions. Did not know about that.
Still, not saying PowerShell is better than Bash in a Linux context, but it seems a lot of Linux users have a gut reaction to right out reject PowerShell. I think it does have some advantages for certain use cases, like more complex scripts, a cross-platform context, ... and of course, for someone with a .NET background it's easier to program more complex things with it.
-
Kitsch-Prompt - golang based cross-platform shell prompt
Starship is pretty slick, but I feel like it's lacking in the customization department. It's easy to get it to display whatever you want, but hard to get it to show it exactly how you want it. If you want a "powerline" style prompt, that's basically impossible in Starship (although it's one of the most upvoted feature requests). Or using color gradients on the prompt - I have this 16.7M color display, why am I limited to flat colors? Finally I'm a big fan of posh git, and Starship doesn't have the ability to display anything like this natively. I used a custom command to run a modified version of posh-git for a long time, but it wasn't very fast.
-
What is the name of the cli tool that shows your current branch and changes you've made?
If you're on Windows, I've used posh-git in the past.
-
I just discovered aliases and I'm looking for more.
The Posh-Git module for showing Git repo details in the prompt.
-
How to increase productivity at work with a pretty Windows Terminal and smart Powerline tools
Install Posh-Git using this command:
-
Pamper your windows terminal
Posh-Git adds Git status information to your prompt and tab completion for Git commands, parameters, remotes, and branch names.
-
Windows Terminal
posh-git
oh-my-posh
-
Overview over Microsoft's developer tools for Windows
Tip 2: Use oh-my-posh to customize your terminal prompt and make working in your terminal even more fun.
-
Tools to achieve a 10x developer workflow on Windows
Initializes oh-my-posh and sets a prompt theme
- Any idea of how to customize vscode's terminal?
-
How do developers make your terminal "look good"?
I use starship (alternative: oh my posh) to get a fancy prompt. Both work on Linux, MacOS and Windows (including WSL), so you can have a consistent prompt no matter where you are.
-
Recommend A Theme
oh-my-posh for Powershell on any platform.
-
Made my terminal pretty ✨
It's the entire image in the middle. They're using tmux as their terminal. The logo and information is from a neofetch. The information at the bottom looks like it's from Oh My Posh but something similar could be done using something else like Starship.
- What is this terminal and how do I get it?
-
Comparing powerline with OhMyPosh
Does anyone has experience with both Oh My Posh and Powerline?
-
In preparing to teach Perl, I discovered one of the main reasons for Perl's loss of popularity. - opinion
Windows Terminal is great and an enormous improvement over conhost. That said, cmd itself isn't any better unless you extend it with something like Oh My Posh and clink. Add GNU CoreUtils to your path if (like me) your muscle memory is to use ls and rm over dir and del.
What are some alternatives?
ohmyzsh - 🙃 A delightful community-driven (with 2,200+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
powerlevel10k - A Zsh theme
zsh-autosuggestions - Fish-like autosuggestions for zsh
oh-my-zsh - 🙃 A delightful community-driven (with 1700+ contributors) framework for managing your zsh configuration. Includes nearly 300 optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community. [Moved to: https://github.com/ohmyzsh/ohmyzsh]
cmder - Lovely console emulator package for Windows
Tabby - A terminal for a more modern age
cmder-powerline-prompt - Custom prompt for Cmder on Windows
Terminal-Icons - A PowerShell module to show file and folder icons in the terminal
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
FiraCode - Free monospaced font with programming ligatures
lazydocker - The lazier way to manage everything docker