mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-23 01:42:18 +08:00
72ee1140ec
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. |
||
---|---|---|
.. | ||
fish_prompt.fish | ||
README.md |
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.