The most customisable and low-latency cross platform/shell prompt renderer
Find a file
Jan De Dobbeleer 8978038a3c fix: use PWD for current dir
On Windows, when in the registry, os.Getwd() returns the previous
path rather than the registry location. Settings PWD as an environment
variable might seem hacky but it's the only way to resolve this.

Resolves #40
2020-10-09 08:25:06 +02:00
.github chore: add issue templates 2020-10-06 21:13:21 +02:00
.vscode feat(pkg): add PowerShell package 2020-09-16 10:46:50 +02:00
docs fix: use PWD for current dir 2020-10-09 08:25:06 +02:00
packages/powershell/oh-my-posh fix: use PWD for current dir 2020-10-09 08:25:06 +02:00
themes feat: use os segment in powerlevel10k_classic theme 2020-10-08 20:56:41 +02:00
commitlint.config.js feat: initial commit 2020-09-12 08:57:18 +02: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 fix: correct cross platform home location 2020-10-05 17:19:05 +02:00
environment.go fix: use PWD for current dir 2020-10-09 08:25:06 +02:00
environment_test.go feat: initial commit 2020-09-12 08:57:18 +02:00
environment_unix.go feat: initial commit 2020-09-12 08:57:18 +02:00
environment_windows.go fix: correctly show admin icon 2020-10-05 17:19:05 +02:00
Gopkg.lock chore: update dependencies 2020-09-21 09:27:20 +02:00
Gopkg.toml chore: remove unused dependency 2020-09-21 20:29:50 +02:00
main.go fix: use PWD for current dir 2020-10-09 08:25:06 +02:00
properties.go feat: ignore folders for segments 2020-10-05 17:19:05 +02: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: right prompt in zsh 2020-10-07 07:08:25 +02:00
renderer_test.go refactor: escape color sequences on zsh 2020-09-24 19:34:19 +02:00
segment.go feat: add os segment 2020-10-08 20:14:55 +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_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: cherry-pick visualization 2020-10-07 21:51:10 +02:00
segment_git_test.go fix: use PWD for current dir 2020-10-09 08:25:06 +02:00
segment_node.go feat: node segment 2020-10-05 17:19:05 +02:00
segment_node_test.go feat: node segment 2020-10-05 17:19:05 +02:00
segment_os.go feat: add os segment 2020-10-08 20:14:55 +02:00
segment_os_test.go feat: add os segment 2020-10-08 20:14:55 +02:00
segment_path.go fix: correct cross platform home location 2020-10-05 17:19:05 +02:00
segment_path_test.go feat: rebase support 2020-10-07 19:00:23 +02:00
segment_python.go feat: show python segment when Jupyter Notebook files are present 2020-10-08 20:34:44 +02:00
segment_python_test.go feat: show python segment when Jupyter Notebook files are present 2020-10-08 20:34:44 +02:00
segment_root.go feat: initial commit 2020-09-12 08:57:18 +02:00
segment_session.go feat: session segment updates 2020-10-07 17:52:25 +02:00
segment_session_test.go feat: session segment updates 2020-10-07 17:52:25 +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: initial commit 2020-09-12 08:57:18 +02:00
segment_spotify_test.go feat: initial commit 2020-09-12 08:57:18 +02:00
segment_test.go feat: ignore folders for segments 2020-10-05 17:19:05 +02: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: extend venv with python version 2020-10-05 17:19:05 +02: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)