Skip to content

abesto/metro

 
 

Repository files navigation

Slack Room

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 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

 
 
 

Contributors

Languages

  • Shell 100.0%