mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-23 20:48:38 +08:00

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