Skip to content

Powerline prompt optimized for speed and space

License

Notifications You must be signed in to change notification settings

TheWizardTower/metro

 
 

Repository files navigation

⚠️ A rewrite is in progress, see: https://github.com/jorgebucaran/fish-new-prompt/issues/18

Metro

Powerline prompt optimized for speed and space.

Metro

Install

With fisherman

fisher metro

Configure

You can add the following lines to your fish configuration to change how metro works:

set -g theme_display_ruby no        # Disables displaying the current ruby version
set -g theme_display_virtualenv no  # Disables displaying the current virtualenv name

Features

  • Git

  • Clean normal

  • Dirty / Touched dirty

  • Staged staged

  • Staged + Dirty staged dirty

  • Stashed stash-normal stash-dirty stash-staged

  • Unpushed commits (ahead) ahead

  • Unpulled commits (behind) behind

  • Unpulled and unpushed commits (diverged) diverged diverged-staged diverged-dirty

  • Detached HEAD detached detached-dirty detached-staged detached-staged-dirty

  • Branch name branch-clean branch-dirty branch-staged branch-staged-dirty

  • $status exit-stat

  • $CMD_DURATION duration2 duration

  • $status in context error-line

  • Background jobs jobs

  • Superpowers (sudo)

  • Host information hostinfo hostinfo-jobs hostinfo-root

Terminal Settings

About

Powerline prompt optimized for speed and space

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%