oh-my-fish/themes/gitstatus
Lin Jen-Shin 72ee1140ec themes/gitstatus: Fix where it shows extra a space
For example, if $HOME is not a git repository, it should show:

    ~>

But previously it incorrectly showed:

    ~ >

This commit makes it aware of such case, inserting the space
accordingly instead of always adding a space.
2013-10-29 01:12:47 +08:00
..
fish_prompt.fish themes/gitstatus: Fix where it shows extra a space 2013-10-29 01:12:47 +08:00
README.md Add a gitstatus theme. 2013-10-28 00:44:14 +08:00

GitStatus

GitStatus

Characteristics

  • Displays host information in the command prompt when connected via ssh.

  • Displays git information in the command prompt when inside a git repository.

    • Shows current branch name.
    • Shows * if working copy is dirty.
    • Shows # if everything is staged.
    • Shows no indicators if the working copy is clean.