mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Comments updated
This commit is contained in:
parent
4b8e90041a
commit
3a1c422878
@ -17,9 +17,9 @@ Translation of zsh's prezto [budspencer theme][budspencer]
|
||||
|
||||
## Right prompt segments
|
||||
- Git status
|
||||
* style can be toggled in NORMAL mode with `,,`
|
||||
- symbols
|
||||
- amount of files that have been changed
|
||||
* style can be toggled in NORMAL mode with `,,` between
|
||||
- `symbols` (shows git status symbols, see below)
|
||||
- `counts` (shows amount of files that are affected)
|
||||
* symbols:
|
||||
- ↑: git repository is ahead origin
|
||||
- ↓: git repository is behind origin
|
||||
|
@ -82,7 +82,7 @@ end
|
||||
bind -M default ' ' fish_pwd_toggle_cm
|
||||
|
||||
set git_style "symbols"
|
||||
function fish_git_toggle_cm --description "Toggles style of git segment, press G in NORMAL mode"
|
||||
function fish_git_toggle_cm --description "Toggles style of git segment, press ,, in NORMAL mode"
|
||||
if test $git_style = "symbols"
|
||||
set git_style "counts"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user