posh-git
FiraCode
Our great sponsors
posh-git | FiraCode | |
---|---|---|
17 | 206 | |
7,356 | 74,982 | |
- | - | |
0.0 | 6.1 | |
20 days ago | 29 days ago | |
PowerShell | Clojure | |
MIT License | SIL Open Font License 1.1 |
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
FiraCode
-
I Just Wanted Emacs to Look Nice – Using 24-Bit Color in Terminals
IME, this is like the golden age of terminal apps in general and macOS-compatible ones in particular. There are several really good terminals for macOS:
[iTerm2 app](https://iterm2.com/)
[Kitty terminal](https://sw.kovidgoyal.net/kitty/)
[WezTerm terminal](https://wezfurlong.org/wezterm/index.html)
[Alacritty](https://github.com/alacritty/alacritty)
My daily driver is WezTerm…
- Runs on Linux, macOS, Windows 10 and FreeBSD
- [Multiplex terminal panes, tabs and windows on local and remote hosts, with native mouse and scrollback](https://wezfurlong.org/wezterm/multiplexing.html)
- [Ligatures](https://github.com/tonsky/FiraCode#fira-code-monospaced-font...), Color Emoji and font fallback, with true color and [dynamic color schemes](https://wezfurlong.org/wezterm/config/appearance.html#colors).
- [Hyperlinks](https://wezfurlong.org/wezterm/hyperlinks.html)
- [Searchable Scrollback](https://wezfurlong.org/wezterm/scrollback.html) (use mouse wheel and `Shift-PageUp` and `Shift PageDown` to navigate, Ctrl-Shift-F to activate search mode)
- xterm style selection of text with mouse; paste selection via `Shift-Insert` (bracketed paste is supported!)
- SGR style mouse reporting (works in vim and tmux)
- Render underline, double-underline, italic, bold, strikethrough (most other terminal emulators do not support as many render attributes)
- Configuration via a [configuration file](https://wezfurlong.org/wezterm/config/files.html) with hot reloading
- Multiple Windows (Hotkey: `Super-N`)
- Splits/Panes (Split horizontally/vertically: `Ctrl-Shift-Alt-%` and `Ctrl-Shift-Alt-"`, move between panes: `Ctrl-Shift-ArrowKey`)
- Tabs (Hotkey: `Super-T`, next/prev: `Super-Shift-[` and `Super-Shift-]`, go-to: `Super-[1-9]`)
- [SSH client with native tabs](https://wezfurlong.org/wezterm/ssh.html)
- [Connect to serial ports for embedded/Arduino work](https://wezfurlong.org/wezterm/serial.html)
- Connect to a local multiplexer server over unix domain sockets
- Connect to a remote multiplexer using SSH or TLS over TCP/IP
- iTerm2 compatible image protocol support, and built-in [imgcat command](https://wezfurlong.org/wezterm/imgcat.html)
- Kitty graphics support
- Sixel graphics support (experimental: starting in `20200620-160318-e00b076c`)
-
What font are you using and why?
Fira Code: https://github.com/tonsky/FiraCode
Fira Code with Ligatures Enabled but also Ligatures Limited - (as per wiki), to make sure those Ligatures are not where you don't want them to be.
-
which Font do you use?
https://github.com/tonsky/FiraCode give it try
-
Berkeley Mono Typeface
I was the same until I started using Fira Code and don't think I'll ever go back to anything else. the ligatures are worth it
-
Elevate Your Frontend Productivity Must-Have Tools and Configurations
Fira Code: A monospaced font with ligatures that enhance code legibility.
-
JetBrains Mono Typeface
Doesn't that depend on the font author providing a NL version?
e.g if I wanted the FiraCode improvements[1] over FiraMono without the ligatures and my editor doesn't support disabling them I basically have to build it myself.
-
FiraCode: Free monospaced font with programming ligatures
> Is anyone aware of a way to toggle them on a per language basis in vs code?
Instructions[1] guide to this extension[2].
[1] https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions
[2] https://marketplace.visualstudio.com/items?itemName=kshetlin...
I like them, but they need to be tunable. Fira code is too opinionated for my taste, for example "0×f00d" issue here: https://github.com/tonsky/FiraCode/issues/944
What are some alternatives?
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
cascadia-code - This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
alacritty - A cross-platform, OpenGL terminal emulator.
source-code-pro - Monospaced font family for user interface and coding environments
Hack - A typeface designed for source code
neovim - Vim-fork focused on extensibility and usability
Iosevka - Versatile typeface for code, from code.
vim - An ambitious theme for vim
polybar - A fast and easy-to-use status bar
Inconsolata - Development repo of Inconsolata Fonts by Raph Levien