The most customisable and low-latency cross platform/shell prompt renderer
Find a file
Chris Donnelly 06e08074fe fix(git): detect when upstream no longer exists
Currently the git segment does not detect when an upstream is removed
(e.g., a PR is merged and the remote branch is deleted).

This change adds functionality to detect when upstream is removed;
if the status reports "branch.upstream" but no "branch.ab", it is gone.

The UI has also been changed to reflect this third state;
it now matches posh-git's behavior, which only shows the Gone icon
if an upstream branch is set but does not report ahead/behind counts.
2022-02-04 19:14:27 +01:00
.devcontainer fix(devcontainer): arm64 installation compatibility 2022-01-12 23:41:54 +01:00
.github chore(go): test all modules 2022-02-03 10:44:18 +01:00
.vscode feat(config): migrate deprecated keys 2022-02-03 10:44:18 +01:00
docs docs: update docs/docs/contributors.md [skip ci] 2022-02-04 09:02:28 +01:00
packages feat(pwsh): don't overwrite dev build 2022-02-03 10:28:47 +00:00
src fix(git): detect when upstream no longer exists 2022-02-04 19:14:27 +01:00
themes theme: update markbull 2022-02-04 08:58:20 +01:00
.all-contributorsrc docs: update .all-contributorsrc [skip ci] 2022-02-04 09:02:28 +01:00
.commitlintrc.yml chore: add commitlint type config 2020-12-26 14:20:10 +01:00
.editorconfig refactor: linting checks for all platforms 2020-11-12 14:04:52 +01:00
.gitattributes refactor: linting checks for all platforms 2020-11-12 14:04:52 +01:00
.gitignore theme: migrate all 2022-02-03 10:44:18 +01:00
.markdownlint.yaml docs(wifi): fix config block 2021-11-25 07:33:43 +01:00
.markdownlintignore chore: replace .md linter 2021-04-24 19:34:09 +02:00
.versionrc.json fix: adjust theme section for changelog 2021-03-05 17:49:47 +01:00
CONTRIBUTING.md feat(devcontainer): deploy OMP to all shells, 2021-11-20 13:45:51 +01:00
COPYING feat: initial commit 2020-09-12 08:57:18 +02:00
cosign.pub feat: sign releases with cosign 2021-12-02 22:53:04 +01:00
README.md chore: add gitkraken badge to README 2022-02-03 12:01:59 +01:00

A prompt theme engine for any shell

Release Status

Release Documentation

PS Gallery GitHub Downloads

Twitter

This repo was made with love using GitKraken.

GitKraken shield

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 ❤

Patreon Liberapay Ko-Fi

Features

  • Shell independent
  • Git status indications
  • Failed command indication
  • Admin indication
  • Current session indications
  • Language info
  • Shell info
  • Configurable
  • Fast

Documentation

Documentation

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