The most customisable and low-latency cross platform/shell prompt renderer
Find a file
Travis Illig 5844faa54d feat: dotnet segment for .NET SDK display
New segment for .NET SDK version (or unsupported version) display.

Includes update for handling command execution errors so segments
can act differently based on exit codes. Using a custom error
type to make it testable rather than passing the OS error directly
to the segment.
2020-10-16 11:39:01 -07:00
.github refactor: use go modules 2020-10-15 06:08:47 -07:00
docs feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
packages/powershell/oh-my-posh refactor: adjust logo in Powershell 2020-10-16 11:18:19 -07:00
themes refactor: replace theme icons 2020-10-16 11:18:19 -07:00
commitlint.config.js feat: initial commit 2020-09-12 08:57:18 +02:00
.editorconfig chore: add .editorconfig 2020-10-15 08:11:09 -07:00
.gitignore feat: initial commit 2020-09-12 08:57:18 +02:00
CONTRIBUTING.md chore: how to add a segment 2020-10-06 21:13:21 +02:00
COPYING feat: initial commit 2020-09-12 08:57:18 +02:00
engine.go refactor: populate segments in parallel 2020-10-14 19:19:35 +02:00
environment.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
environment_test.go feat: initial commit 2020-09-12 08:57:18 +02:00
environment_unix.go fix: remove user.current() 2020-10-12 16:09:06 +02:00
environment_windows.go fix: remove user.current() 2020-10-12 16:09:06 +02:00
go.mod chore: remove unused replace statements 2020-10-16 11:18:19 -07:00
go.sum refactor: use go modules 2020-10-15 06:08:47 -07:00
main.go fix: use PWD for current dir 2020-10-09 08:25:06 +02:00
properties.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
properties_test.go refactor: rename session properties for clarity 2020-10-05 17:19:05 +02:00
README.md refactor: update README 2020-10-05 17:19:05 +02:00
renderer.go fix: reset colors after rendering prompt 2020-10-14 17:45:02 +02:00
renderer_test.go refactor: escape color sequences on zsh 2020-09-24 19:34:19 +02:00
segment.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_az.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_az_test.go feat: az segment for Azure subscription info 2020-10-15 07:30:38 +02:00
segment_battery.go feat: hide battery error switch 2020-10-05 17:19:05 +02:00
segment_battery_test.go feat: hide battery error switch 2020-10-05 17:19:05 +02:00
segment_command.go fix: do not run shell command when shell isn't available 2020-10-05 17:19:05 +02:00
segment_command_test.go feat: initial commit 2020-09-12 08:57:18 +02:00
segment_dotnet.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_dotnet_test.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_envar.go feat: env var segment 2020-10-09 20:54:41 +02:00
segment_envar_test.go feat: env var segment 2020-10-09 20:54:41 +02:00
segment_exit.go refactor: remove error_icon property 2020-10-05 17:19:05 +02:00
segment_exit_test.go fix: adjust theme alignment 2020-10-05 17:19:05 +02:00
segment_git.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_git_test.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_kubectl.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_kubectl_test.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_node.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_node_test.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_os.go chore: rename os properties 2020-10-09 16:23:07 +02:00
segment_os_test.go feat: add os segment 2020-10-08 20:14:55 +02:00
segment_path.go refactor: update defaults in docs 2020-10-16 11:18:19 -07:00
segment_path_test.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_python.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_python_test.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_root.go refactor: replace root icon 2020-10-16 11:18:19 -07:00
segment_session.go refactor: user env for user name 2020-10-12 13:25:27 +02:00
segment_session_test.go refactor: user env for user name 2020-10-12 13:25:27 +02:00
segment_shell.go refactor: format shell name better 2020-09-24 19:34:19 +02:00
segment_shell_test.go refactor: format shell name better 2020-09-24 19:34:19 +02:00
segment_spotify.go feat: dotnet segment for .NET SDK display 2020-10-16 11:39:01 -07:00
segment_spotify_test.go feat: initial commit 2020-09-12 08:57:18 +02:00
segment_test.go refactor: replace theme icons 2020-10-16 11:18:19 -07:00
segment_text.go feat: initial commit 2020-09-12 08:57:18 +02:00
segment_time.go feat: initial commit 2020-09-12 08:57:18 +02:00
settings.go refactor: update default settings 2020-10-16 11:18:19 -07:00

A prompt theme engine for any shell

Release Status Go Report Card PS Gallery Documentation

What started as the offspring of oh-my-posh 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 independant
  • Git status indications
  • Failed command indication
  • Admin indication
  • Current session indications
  • Language info
  • Shell info
  • Configurable

Documentation

Documentation

Roadmap

  • CI
  • Github Releases
  • Create documentation for manual installation
  • Create documentation on the different segments
  • Create easy installation packages
    • Powershell
    • Brew
    • Chocolatey

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)